summaryrefslogtreecommitdiffstats
path: root/src/entities/Building.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-24 22:06:14 +0200
committeraap <aap@papnet.eu>2019-06-24 22:06:14 +0200
commit3b43c0957893e06f832f2097225ae83b09f86199 (patch)
tree421a6083b469dbce38531a128db1f5dd5a5a6174 /src/entities/Building.cpp
parentfixed bug in CPlaceable (diff)
downloadre3-3b43c0957893e06f832f2097225ae83b09f86199.tar
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.gz
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.bz2
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.lz
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.xz
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.zst
re3-3b43c0957893e06f832f2097225ae83b09f86199.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Building.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/Building.cpp b/src/entities/Building.cpp
index 9e56b3a2..d69a65fe 100644
--- a/src/entities/Building.cpp
+++ b/src/entities/Building.cpp
@@ -22,5 +22,6 @@ CBuilding::ReplaceWithNewModel(int32 id)
}
STARTPATCHES
+ InjectHook(0x4057D0, &CBuilding::ctor, PATCH_JUMP);
InjectHook(0x405850, &CBuilding::ReplaceWithNewModel, PATCH_JUMP);
ENDPATCHES