mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Address minor code style violation in unsigned suffix (#22306)
This commit is contained in:
@@ -1634,7 +1634,7 @@ IntervalHandle ScriptEngine::AllocateHandle()
|
||||
const auto nextHandle = _nextIntervalHandle;
|
||||
|
||||
// In case of overflow start from 1 again
|
||||
_nextIntervalHandle = std::max(_nextIntervalHandle + 1U, 1U);
|
||||
_nextIntervalHandle = std::max(_nextIntervalHandle + 1u, 1u);
|
||||
|
||||
return nextHandle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user