diff options
Diffstat (limited to 'src/vehicles/Boat.h')
-rw-r--r-- | src/vehicles/Boat.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vehicles/Boat.h b/src/vehicles/Boat.h index ba56e355..3cc3513d 100644 --- a/src/vehicles/Boat.h +++ b/src/vehicles/Boat.h @@ -64,8 +64,15 @@ public: static float IsVertexAffectedByWake(CVector vecVertex, CBoat *pBoat); static void FillBoatList(void); +#ifdef COMPATIBLE_SAVES + virtual void Save(uint8*& buf); + virtual void Load(uint8*& buf); +#endif + static const uint32 nSaveStructSize; + }; -static_assert(sizeof(CBoat) == 0x484, "CBoat: error"); + +VALIDATE_SIZE(CBoat, 0x484); extern float MAX_WAKE_LENGTH; extern float MIN_WAKE_INTERVAL; |