mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Fixed game crash: divide by zero due to threads racing
This commit is contained in:
parent
7a32e41d47
commit
d92356f085
@ -473,9 +473,9 @@ void CGuiHandler::renderFrame()
|
||||
SDL_RenderPresent(mainRenderer);
|
||||
|
||||
disposed.clear();
|
||||
|
||||
mainFPSmng->framerateDelay(); // holds a constant FPS
|
||||
}
|
||||
|
||||
mainFPSmng->framerateDelay(); // holds a constant FPS
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user