forked from rosebudai/OpenRCT2-Web
Add isEntertainer method to Staff class, small cleanup
This commit is contained in:
1 parent
99065960f2
commit
2ad4d4be72
8 files changed
+17
-13
No files matched your search
@@ -525,7 +525,7 @@ static void ConsoleCommandStaff(InteractiveConsole& console, const arguments_t&
|
||||
console.WriteLineError("Invalid staff ID");
|
||||
return;
|
||||
}
|
||||
if (staff->AssignedStaffType != StaffType::Entertainer)
|
||||
if (!staff->isEntertainer())
|
||||
{
|
||||
console.WriteLineError("Specified staff is not entertainer");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user