1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

change Min to Max

This commit is contained in:
spacek531
2017-07-06 10:36:37 -07:00
committed by Ted John
parent 51c34ff800
commit bd4e8cbd08

View File

@@ -248,7 +248,7 @@ private:
break;
case TITLE_SCRIPT_WAIT:
// The waitCounter is measured in 25-ms game ticks. Previously it was seconds * 40 ticks/second, now it is ms / 25 ms/tick
_waitCounter = Math::Min<sint32>(1, command->Milliseconds / UPDATE_TIME_MS);
_waitCounter = Math::Max<sint32>(1, command->Milliseconds / UPDATE_TIME_MS);
break;
case TITLE_SCRIPT_LOADMM:
{