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:
hikerstk 2011-09-14 12:36:35 +00:00
parent ea6640321a
commit 481ca5bac8

View File

@ -182,7 +182,7 @@ void Referee::attachToSceneNode()
*/
void Referee::removeFromSceneGraph()
{
if(!isAttached())
if(isAttached())
irr_driver->removeNode(m_scene_node);
} // removeFromSceneGraph