1
0
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:
ryan-bello
2020-08-16 18:25:32 -04:00
parent 54a33cbde8
commit cc2bb33892
24 changed files with 124 additions and 111 deletions

View File

@@ -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;