Bugfix: Referee was not removed from scene.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
ea6640321a
commit
481ca5bac8
@ -182,7 +182,7 @@ void Referee::attachToSceneNode()
|
||||
*/
|
||||
void Referee::removeFromSceneGraph()
|
||||
{
|
||||
if(!isAttached())
|
||||
if(isAttached())
|
||||
irr_driver->removeNode(m_scene_node);
|
||||
} // removeFromSceneGraph
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user