mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
changed enum STAFF_TYPE to strong enum StaffType, moved it to Peep.h
This commit is contained in:
@@ -494,7 +494,7 @@ static int32_t cc_staff(InteractiveConsole& console, const arguments_t& argv)
|
||||
console.WriteLineError("Invalid staff ID");
|
||||
return 1;
|
||||
}
|
||||
if (staff->AssignedStaffType != STAFF_TYPE_ENTERTAINER)
|
||||
if (staff->AssignedStaffType != StaffType::Entertainer)
|
||||
{
|
||||
console.WriteLineError("Specified staff is not entertainer");
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user