diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-01 00:07:09 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-01 00:07:09 +0300 |
commit | e34631adcea643d10c23a3f108cddf5ed95c2442 (patch) | |
tree | 87125ca8dded2422676f87138cf59664e81794f9 /src/control/Garages.h | |
parent | e2ed4680189e1a0ef135c4f038eb72de7a67146e (diff) |
review fixes
Diffstat (limited to 'src/control/Garages.h')
-rw-r--r-- | src/control/Garages.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/control/Garages.h b/src/control/Garages.h index 8b88359a..3f471555 100644 --- a/src/control/Garages.h +++ b/src/control/Garages.h @@ -174,6 +174,9 @@ static_assert(sizeof(CGarage) == 140, "CGarage"); class CGarages { + enum { + MESSAGE_LENGTH = 8 + }; static int32 &BankVansCollected; static bool &BombsAreFree; static bool &RespraysAreFree; @@ -182,7 +185,7 @@ class CGarages static int32 &CrushedCarId; static uint32 &LastTimeHelpMessage; static int32 &MessageNumberInString; - static char(&MessageIDString)[8]; + static char(&MessageIDString)[MESSAGE_LENGTH]; static int32 &MessageNumberInString2; static uint32 &MessageStartTime; static uint32 &MessageEndTime; |