1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Default initialize ErrorTitle and ErrorMessage with STR_NONE

This commit is contained in:
ζeh Matt
2021-10-20 01:10:25 +03:00
parent 7fc49fca39
commit 5bf3513156

View File

@@ -65,8 +65,8 @@ namespace GameActions
using StringVariant = std::variant<std::string, rct_string_id>;
GameActions::Status Error = GameActions::Status::Ok;
StringVariant ErrorTitle;
StringVariant ErrorMessage;
StringVariant ErrorTitle = STR_NONE;
StringVariant ErrorMessage = STR_NONE;
std::array<uint8_t, 32> ErrorMessageArgs{};
CoordsXYZ Position = { LOCATION_NULL, LOCATION_NULL, LOCATION_NULL };
money32 Cost = 0;