diff options
Diffstat (limited to '')
-rw-r--r-- | src/render/WaterCannon.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/render/WaterCannon.h b/src/render/WaterCannon.h index 1b2dcee3..16df63db 100644 --- a/src/render/WaterCannon.h +++ b/src/render/WaterCannon.h @@ -10,12 +10,16 @@ public: CVector m_avecPos[16]; CVector m_avecVelocity[16]; char m_abUsed[16]; +}; + +static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error"); - static void Update(void); +class CWaterCannons +{ +public: + static void Update(); static void UpdateOne(uint32 id, CVector *pos, CVector *dir); static void Render(void); }; -static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error"); - -extern CWaterCannon* aCannons; +extern CWaterCannon *aCannons; |