Fixed crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c5c80e1fc5
commit
3b85e07f68
@ -652,9 +652,9 @@ void IrrDriver::update(float dt)
|
||||
}
|
||||
}
|
||||
|
||||
if (GUIEngine::getCurrentScreen()->needs3D())
|
||||
if (inRace || GUIEngine::getCurrentScreen()->needs3D())
|
||||
{
|
||||
// render 3D stuff in cutscene mode too
|
||||
// render 3D stuff in cutscenes too
|
||||
m_scene_manager->drawAll();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user