summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-09 16:13:38 +0100
committeraap <aap@papnet.eu>2021-01-09 16:13:38 +0100
commitf6f0cb708ec5dee32e14c7ecf04441757de01325 (patch)
tree2fbea8b0e9b3a6835625ffd360be510e85144b3c /src/vehicles
parentFix font (diff)
downloadre3-f6f0cb708ec5dee32e14c7ecf04441757de01325.tar
re3-f6f0cb708ec5dee32e14c7ecf04441757de01325.tar.gz
re3-f6f0cb708ec5dee32e14c7ecf04441757de01325.tar.bz2
re3-f6f0cb708ec5dee32e14c7ecf04441757de01325.tar.lz
re3-f6f0cb708ec5dee32e14c7ecf04441757de01325.tar.xz
re3-f6f0cb708ec5dee32e14c7ecf04441757de01325.tar.zst
re3-f6f0cb708ec5dee32e14c7ecf04441757de01325.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Boat.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 695d380f..c8eb05f3 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -32,15 +32,15 @@
#define INVALID_ORIENTATION (-9999.99f)
-float fShapeLength = 0.4f;
-float fShapeTime = 0.05f;
-float fRangeMult = 0.6f;
-float fTimeMult;
-
float CBoat::MAX_WAKE_LENGTH = 50.0f;
float CBoat::MIN_WAKE_INTERVAL = 2.0f;
float CBoat::WAKE_LIFETIME = 150.0f;
+float fShapeLength = 0.4f;
+float fShapeTime = 0.05f;
+float fRangeMult = 0.6f;
+float fTimeMult = 1.0/CBoat::WAKE_LIFETIME;
+
CBoat *CBoat::apFrameWakeGeneratingBoats[4];
const uint32 CBoat::nSaveStructSize =