1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

renamed StaffType to AssignedStaffType

This commit is contained in:
ryan-bello
2020-08-16 18:20:00 -04:00
parent 72be84caf8
commit 54a33cbde8
23 changed files with 47 additions and 47 deletions

View File

@@ -439,7 +439,7 @@ static int32_t cc_staff(InteractiveConsole& console, const arguments_t& argv)
{
auto name = peep->GetName();
console.WriteFormatLine(
"staff id %03d type: %02u energy %03u name %s", peep->sprite_index, peep->StaffType, peep->Energy,
"staff id %03d type: %02u energy %03u name %s", peep->sprite_index, peep->AssignedStaffType, peep->Energy,
name.c_str());
}
}
@@ -494,7 +494,7 @@ static int32_t cc_staff(InteractiveConsole& console, const arguments_t& argv)
console.WriteLineError("Invalid staff ID");
return 1;
}
if (staff->StaffType != STAFF_TYPE_ENTERTAINER)
if (staff->AssignedStaffType != STAFF_TYPE_ENTERTAINER)
{
console.WriteLineError("Specified staff is not entertainer");
return 1;