diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-27 22:45:06 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-27 22:45:06 +0200 |
commit | 1c7fee4b9fc1684f83b62705573a34218b3159d3 (patch) | |
tree | b39c31b36fd8a81bb6abf2c2089d2be5fefad86e /src/control/Gangs.h | |
parent | fixed newline (diff) | |
download | re3-1c7fee4b9fc1684f83b62705573a34218b3159d3.tar re3-1c7fee4b9fc1684f83b62705573a34218b3159d3.tar.gz re3-1c7fee4b9fc1684f83b62705573a34218b3159d3.tar.bz2 re3-1c7fee4b9fc1684f83b62705573a34218b3159d3.tar.lz re3-1c7fee4b9fc1684f83b62705573a34218b3159d3.tar.xz re3-1c7fee4b9fc1684f83b62705573a34218b3159d3.tar.zst re3-1c7fee4b9fc1684f83b62705573a34218b3159d3.zip |
Diffstat (limited to 'src/control/Gangs.h')
-rw-r--r-- | src/control/Gangs.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/control/Gangs.h b/src/control/Gangs.h index 96066a3e..db14ca64 100644 --- a/src/control/Gangs.h +++ b/src/control/Gangs.h @@ -36,7 +36,7 @@ public: GANG_HOODS, GANG_7, GANG_8, - TOTAL_GANGS + NUM_GANGS }; static void Initialize(void); static void SetGangVehicleModel(int16, int); @@ -49,14 +49,5 @@ public: private: static CGangInfo* GetGangInfo(int16 gang) { return &Gang[gang]; } - static CGangInfo(&Gang)[TOTAL_GANGS]; + static CGangInfo(&Gang)[NUM_GANGS]; }; - -struct tGangSaveData -{ - char tag[4]; - int32 size; - CGangInfo gangs[CGangs::TOTAL_GANGS]; -}; - -static_assert(sizeof(tGangSaveData) == 0x98, "tGangSaveData: error"); |