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

Fix #9699: Crash when error message is shown for custom named ride

Increase size of error string format argument buffer so that the ride name arguments fit.
This commit is contained in:
Ted John
2019-08-01 17:22:28 +01:00
parent a5365b38b3
commit e4ba170c87

View File

@@ -71,7 +71,7 @@ public:
GA_ERROR Error = GA_ERROR::OK;
rct_string_id ErrorTitle = STR_NONE;
rct_string_id ErrorMessage = STR_NONE;
std::array<uint8_t, 12> ErrorMessageArgs;
std::array<uint8_t, 32> ErrorMessageArgs;
CoordsXYZ Position = { LOCATION_NULL, LOCATION_NULL, LOCATION_NULL };
money32 Cost = 0;
uint16_t ExpenditureType = 0;