From 3b85e07f688f51d117b8c54672891805b032f16e Mon Sep 17 00:00:00 2001 From: auria Date: Thu, 15 Oct 2009 22:11:02 +0000 Subject: [PATCH] Fixed crash git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4118 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/irr_driver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index d4189707c..57d032963 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -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(); }