X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=radiant%2Fscenegraph.cpp;h=cb83691ec7971feeb5fc2ccfc2b49181c1cca382;hb=988b2f6fbcd2e28920ed4e44c8e92481be13c011;hp=b58cea4152f27e3f72643db2f446a42d2685ce3c;hpb=6ee91d153ea09f2dafa62ed2f022f4183c090168;p=xonotic%2Fnetradiant.git diff --git a/radiant/scenegraph.cpp b/radiant/scenegraph.cpp index b58cea41..cb83691e 100644 --- a/radiant/scenegraph.cpp +++ b/radiant/scenegraph.cpp @@ -102,7 +102,7 @@ public: scene::Node& root() { ASSERT_MESSAGE(!m_rootpath.empty(), "scenegraph root does not exist"); - return *m_rootpath.top(); + return m_rootpath.top(); } void insert_root(scene::Node& root) { @@ -122,7 +122,7 @@ public: ASSERT_MESSAGE(!m_rootpath.empty(), "scenegraph root does not exist"); - scene::Node& root = *m_rootpath.top(); + scene::Node& root = m_rootpath.top(); m_rootpath.pop();