summaryrefslogtreecommitdiffstats
path: root/src/entities/Building.cpp
diff options
context:
space:
mode:
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 d69a65fe..b9fca96f 100644
--- a/src/entities/Building.cpp
+++ b/src/entities/Building.cpp
@@ -23,5 +23,6 @@ CBuilding::ReplaceWithNewModel(int32 id)
STARTPATCHES
InjectHook(0x4057D0, &CBuilding::ctor, PATCH_JUMP);
+ InjectHook(0x405800, &CBuilding::dtor, PATCH_JUMP);
InjectHook(0x405850, &CBuilding::ReplaceWithNewModel, PATCH_JUMP);
ENDPATCHES