Don't do uncapped FPS when running headlessly

This commit is contained in:
Michał Janiszewski committed 2016-02-15 10:41:09 +01:00
1 parent 843b588b15
commit 4aac5c035f
1 file changed
+1 -1
+1 -1
View File
@@ -365,7 +365,7 @@ static void openrct2_loop()
_finished = 0;
do {
if (gConfigGeneral.uncap_fps && gGameSpeed <= 4) {
if (gConfigGeneral.uncap_fps && gGameSpeed <= 4 && !gOpenRCT2Headless) {
currentTick = SDL_GetTicks();
if (uncapTick == 0) {
// Reset sprite locations