fixed assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8295a10974
commit
778e015d0a
@ -235,7 +235,7 @@ void render(float elapsed_time)
|
||||
g_env->drawAll();
|
||||
|
||||
// ---- additionnal drawing
|
||||
if(getCurrentScreen()->getName() == "credits.stkgui")
|
||||
if(!StateManager::isGameState() && getCurrentScreen()->getName() == "credits.stkgui")
|
||||
{
|
||||
Credits::getInstance()->render(elapsed_time);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user