You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07: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