mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
* Refactor STAFF_MODE to use strong enum Closes #12432 * Change type of gStaffModes to StaffMode
This commit is contained in:
@@ -1232,7 +1232,7 @@ static int32_t cc_show_limits(InteractiveConsole& console, [[maybe_unused]] cons
|
||||
int32_t staffCount = 0;
|
||||
for (int32_t i = 0; i < STAFF_MAX_COUNT; ++i)
|
||||
{
|
||||
if (gStaffModes[i] & 1)
|
||||
if (gStaffModes[i] != StaffMode::None)
|
||||
{
|
||||
staffCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user