1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Do not use user strings for peep names

This commit is contained in:
Ted John
2019-07-21 20:44:19 +01:00
parent 61d64ab8c5
commit 40d49b93d3
27 changed files with 282 additions and 323 deletions

View File

@@ -443,10 +443,9 @@ static int32_t cc_staff(InteractiveConsole& console, const arguments_t& argv)
int32_t i;
FOR_ALL_STAFF (i, peep)
{
char name[128];
format_string(name, 128, peep->name_string_idx, &peep->id);
auto name = peep->GetName();
console.WriteFormatLine(
"staff id %03d type: %02u energy %03u name %s", i, peep->staff_type, peep->energy, name);
"staff id %03d type: %02u energy %03u name %s", i, peep->staff_type, peep->energy, name.c_str());
}
}
else if (argv[0] == "set")