From e4ba170c87786858153a8d58df5506b076ec237d Mon Sep 17 00:00:00 2001 From: Ted John Date: Thu, 1 Aug 2019 17:22:28 +0100 Subject: [PATCH] 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. --- src/openrct2/actions/GameAction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/actions/GameAction.h b/src/openrct2/actions/GameAction.h index 352bcab7bb..59852e3f7b 100644 --- a/src/openrct2/actions/GameAction.h +++ b/src/openrct2/actions/GameAction.h @@ -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 ErrorMessageArgs; + std::array ErrorMessageArgs; CoordsXYZ Position = { LOCATION_NULL, LOCATION_NULL, LOCATION_NULL }; money32 Cost = 0; uint16_t ExpenditureType = 0;