1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Fix #4385: Wrong numbers in guests thoughts summary

get_arguments_from_peep was not setting the output thought arguments when a guest had no valid thought.
This commit is contained in:
Ted John
2016-09-08 22:06:39 +01:00
parent 91eb33255b
commit cdaddaa00d

View File

@@ -867,6 +867,9 @@ static void get_arguments_from_peep(rct_peep *peep, uint32 *argument_1, uint32*
peep_thought_set_format_args(thought);
memcpy(argument_1, gCommonFormatArgs, sizeof(*argument_1));
memcpy(argument_2, gCommonFormatArgs + sizeof(*argument_1), sizeof(*argument_2));
} else {
*argument_1 = 0;
*argument_2 = 0;
}
break;
}