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 committed 2019-08-01 17:22:28 +01:00
1 parent a5365b38b3
commit e4ba170c87
1 file changed
+1 -1
+1 -1
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;