diff --git a/src/openrct2/core/Math.hpp b/src/openrct2/core/Math.hpp index 283ded1f75..c46a1ba94a 100644 --- a/src/openrct2/core/Math.hpp +++ b/src/openrct2/core/Math.hpp @@ -48,11 +48,5 @@ namespace Math if (x > 0) return 1; return 0; } - - template - static T Ceil(T a) - { - return (std::ceil)(a); - } } diff --git a/src/openrct2/title/TitleSequencePlayer.cpp b/src/openrct2/title/TitleSequencePlayer.cpp index de31c59151..2abf9a8180 100644 --- a/src/openrct2/title/TitleSequencePlayer.cpp +++ b/src/openrct2/title/TitleSequencePlayer.cpp @@ -249,7 +249,7 @@ private: 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(1, Math::Ceil(command->Seconds / UPDATE_TIME_MS)); + _waitCounter = Math::Min(1, command->Seconds / UPDATE_TIME_MS); break; case TITLE_SCRIPT_LOADMM: {