forked from rosebudai/OpenRCT2-Web
changed enum STAFF_TYPE to strong enum StaffType, moved it to Peep.h
This commit is contained in:
1 parent
54a33cbde8
commit
cc2bb33892
24 files changed
+124
-111
No files matched your search
@@ -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