changed enum STAFF_TYPE to strong enum StaffType, moved it to Peep.h

This commit is contained in:
ryan-bello committed 2020-08-17 22:59:02 -04:00
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;