summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Door.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicles/Door.cpp')
-rw-r--r--src/vehicles/Door.cpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/vehicles/Door.cpp b/src/vehicles/Door.cpp
index c569be59..c80965aa 100644
--- a/src/vehicles/Door.cpp
+++ b/src/vehicles/Door.cpp
@@ -1,5 +1,5 @@
#include "common.h"
-#include "patcher.h"
+
#include "Vehicle.h"
#include "Door.h"
@@ -168,19 +168,3 @@ CTrainDoor::IsClosed(void)
{
return m_fPosn == RetTranslationWhenClosed();
}
-
-STARTPATCHES
- InjectHook(0x545EF0, &CDoor::Open, PATCH_JUMP);
- InjectHook(0x545BD0, &CDoor::Process, PATCH_JUMP);
- InjectHook(0x545FE0, &CDoor::RetAngleWhenClosed, PATCH_JUMP);
- InjectHook(0x546020, &CDoor::RetAngleWhenOpen, PATCH_JUMP);
- InjectHook(0x545F80, &CDoor::GetAngleOpenRatio, PATCH_JUMP);
- InjectHook(0x546090, &CDoor::IsFullyOpen, PATCH_JUMP);
- InjectHook(0x546060, &CDoor::IsClosed, PATCH_JUMP);
-
- InjectHook(0x546200, &CTrainDoor::Open, PATCH_JUMP);
- InjectHook(0x546180, &CTrainDoor::RetTranslationWhenClosed, PATCH_JUMP);
- InjectHook(0x5461C0, &CTrainDoor::RetTranslationWhenOpen, PATCH_JUMP);
- InjectHook(0x546120, &CTrainDoor::IsFullyOpen, PATCH_JUMP);
- InjectHook(0x5460F0, &CTrainDoor::IsClosed, PATCH_JUMP);
-ENDPATCHES