diff options
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"); |