From 4aac5c035f5f6764eaa98937a2c6ca3e7bdc679d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 14 Feb 2016 11:25:09 +0100 Subject: [PATCH] Don't do uncapped FPS when running headlessly --- src/openrct2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2.c b/src/openrct2.c index b550d93581..89eabed98d 100644 --- a/src/openrct2.c +++ b/src/openrct2.c @@ -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