1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-30 08:57:00 +02:00

Fixed game crash: divide by zero due to threads racing

This commit is contained in:
nordsoft 2022-05-28 03:22:56 +03:00 committed by Andrii Danylchenko
parent 7a32e41d47
commit d92356f085

View File

@ -473,9 +473,9 @@ void CGuiHandler::renderFrame()
SDL_RenderPresent(mainRenderer); SDL_RenderPresent(mainRenderer);
disposed.clear(); disposed.clear();
mainFPSmng->framerateDelay(); // holds a constant FPS
} }
mainFPSmng->framerateDelay(); // holds a constant FPS
} }