summaryrefslogtreecommitdiffstats
path: root/src/control/Bridge.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-04-16 21:19:56 +0200
committereray orçunus <erayorcunus@gmail.com>2020-04-16 21:19:56 +0200
commit2c2da558cac7e235d1dc89264aa78695aae32394 (patch)
tree78ca1babbac01fff758c20ed9ae4bc3ffb210095 /src/control/Bridge.cpp
parentMore refs removed (diff)
downloadre3-2c2da558cac7e235d1dc89264aa78695aae32394.tar
re3-2c2da558cac7e235d1dc89264aa78695aae32394.tar.gz
re3-2c2da558cac7e235d1dc89264aa78695aae32394.tar.bz2
re3-2c2da558cac7e235d1dc89264aa78695aae32394.tar.lz
re3-2c2da558cac7e235d1dc89264aa78695aae32394.tar.xz
re3-2c2da558cac7e235d1dc89264aa78695aae32394.tar.zst
re3-2c2da558cac7e235d1dc89264aa78695aae32394.zip
Diffstat (limited to '')
-rw-r--r--src/control/Bridge.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/control/Bridge.cpp b/src/control/Bridge.cpp
index 6a577449..53cf6af2 100644
--- a/src/control/Bridge.cpp
+++ b/src/control/Bridge.cpp
@@ -6,20 +6,20 @@
#include "PathFind.h"
#include "Stats.h"
-CEntity*& CBridge::pLiftRoad = *(CEntity**)0x8E2C8C;
-CEntity*& CBridge::pLiftPart = *(CEntity**)0x8E2C94;
-CEntity*& CBridge::pWeight = *(CEntity**)0x8E28BC;
+CEntity *CBridge::pLiftRoad;
+CEntity *CBridge::pLiftPart;
+CEntity *CBridge::pWeight;
-int& CBridge::State = *(int*)0x8F2A1C;
-int& CBridge::OldState = *(int*)0x8F2A20;
+int CBridge::State;
+int CBridge::OldState;
-float& CBridge::DefaultZLiftPart = *(float*)0x941430;
-float& CBridge::DefaultZLiftRoad = *(float*)0x941438;
-float& CBridge::DefaultZLiftWeight = *(float*)0x8F1A44;
+float CBridge::DefaultZLiftPart;
+float CBridge::DefaultZLiftRoad;
+float CBridge::DefaultZLiftWeight;
-float& CBridge::OldLift = *(float*)0x8F6254;
+float CBridge::OldLift;
-uint32& CBridge::TimeOfBridgeBecomingOperational = *(uint32*)0x8F2BC0;
+uint32 CBridge::TimeOfBridgeBecomingOperational;
void CBridge::Init()
{