mirror of https://github.com/OpenRCT2/OpenRCT2.git
change Min to Max
This commit is contained in:
parent
51c34ff800
commit
bd4e8cbd08
|
@ -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:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue