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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user