diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-12 00:59:35 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-12 00:59:35 +0200 |
commit | 3e64274f6b68069600c243cea61f94555dccf388 (patch) | |
tree | 4bc398ddbdc0fdd0d108b3e87c8b780eb93864cc /src/vehicles/CarGen.h | |
parent | sync with upstream (diff) | |
download | re3-3e64274f6b68069600c243cea61f94555dccf388.tar re3-3e64274f6b68069600c243cea61f94555dccf388.tar.gz re3-3e64274f6b68069600c243cea61f94555dccf388.tar.bz2 re3-3e64274f6b68069600c243cea61f94555dccf388.tar.lz re3-3e64274f6b68069600c243cea61f94555dccf388.tar.xz re3-3e64274f6b68069600c243cea61f94555dccf388.tar.zst re3-3e64274f6b68069600c243cea61f94555dccf388.zip |
Diffstat (limited to 'src/vehicles/CarGen.h')
-rw-r--r-- | src/vehicles/CarGen.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vehicles/CarGen.h b/src/vehicles/CarGen.h index 9d645318..684f93ee 100644 --- a/src/vehicles/CarGen.h +++ b/src/vehicles/CarGen.h @@ -22,9 +22,6 @@ class CCarGenerator int32 m_nVehicleHandle; uint16 m_nUsesRemaining; bool m_bIsBlocking; - CVector m_vecInf; - CVector m_vecSup; - float m_fSize; public: void SwitchOff(); void SwitchOn(); @@ -32,7 +29,7 @@ public: void DoInternalProcessing(); void Process(); void Setup(float x, float y, float z, float angle, int32 mi, int16 color1, int16 color2, uint8 force, uint8 alarm, uint8 lock, uint16 min_delay, uint16 max_delay); - bool CheckForBlockage(); + bool CheckForBlockage(int32 mi); bool CheckIfWithinRangeOfAnyPlayer(); void SetUsesRemaining(uint16 uses) { m_nUsesRemaining = uses; } }; |