summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Floater.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-16 14:30:47 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-16 14:30:47 +0200
commit83cbe4e39ede4853e0d352e55aeddbd481b39948 (patch)
tree982648ce860ac1c50233df806798a8b9412819fe /src/vehicles/Floater.cpp
parentadd textures in correct order (diff)
downloadre3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.gz
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.bz2
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.lz
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.xz
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.tar.zst
re3-83cbe4e39ede4853e0d352e55aeddbd481b39948.zip
Diffstat (limited to 'src/vehicles/Floater.cpp')
-rw-r--r--src/vehicles/Floater.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vehicles/Floater.cpp b/src/vehicles/Floater.cpp
index 62d55925..ee4a1191 100644
--- a/src/vehicles/Floater.cpp
+++ b/src/vehicles/Floater.cpp
@@ -7,10 +7,9 @@
#include "Vehicle.h"
#include "Floater.h"
-cBuoyancy &mod_Buoyancy = *(cBuoyancy*)0x8F2674;
+cBuoyancy mod_Buoyancy;// = *(cBuoyancy*)0x8F2674;
-//static float fVolMultiplier = 1.0f;
-static float &fVolMultiplier = *(float*)0x601394;
+static float fVolMultiplier = 1.0f; // 0x601394;
// amount of boat volume in bounding box
// 1.0-volume is the empty space in the bbox
static float fBoatVolumeDistribution[9] = {