mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Fix build
This commit is contained in:
@@ -118,7 +118,7 @@ namespace OpenRCT2::Scripting
|
||||
auto w = GetWindow();
|
||||
if (w != nullptr)
|
||||
{
|
||||
for (int32_t i = 0; i < std::size(w->colours); i++)
|
||||
for (size_t i = 0; i < std::size(w->colours); i++)
|
||||
{
|
||||
w->colours[i] = i < colours.size() ? std::clamp<int32_t>(colours[i], COLOUR_BLACK, COLOUR_COUNT - 1)
|
||||
: COLOUR_BLACK;
|
||||
|
||||
Reference in New Issue
Block a user