Default initialize ErrorMessageArgs in GameAction Result

This commit is contained in:
ZehMatt committed 2021-07-30 21:31:10 +03:00
1 parent b111e104e3
commit fbc689818e
1 file changed
+1 -1
+1 -1
View File
@@ -126,7 +126,7 @@ namespace GameActions
GameActions::Status Error = GameActions::Status::Ok;
StringVariant ErrorTitle;
StringVariant ErrorMessage;
std::array<uint8_t, 32> ErrorMessageArgs;
std::array<uint8_t, 32> ErrorMessageArgs{};
CoordsXYZ Position = { LOCATION_NULL, LOCATION_NULL, LOCATION_NULL };
money32 Cost = 0;
ExpenditureType Expenditure = ExpenditureType::Count;