summaryrefslogtreecommitdiffstats
path: root/src/vehicles/DamageManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-26 21:03:15 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-26 21:03:15 +0200
commitf0890b11122291a22d6a65f349281cf1aed49bd0 (patch)
tree3b418b522c5fd097abac916693e59808ea4f5b4f /src/vehicles/DamageManager.cpp
parentMore japanese (diff)
parentRemove little hack (diff)
downloadre3-f0890b11122291a22d6a65f349281cf1aed49bd0.tar
re3-f0890b11122291a22d6a65f349281cf1aed49bd0.tar.gz
re3-f0890b11122291a22d6a65f349281cf1aed49bd0.tar.bz2
re3-f0890b11122291a22d6a65f349281cf1aed49bd0.tar.lz
re3-f0890b11122291a22d6a65f349281cf1aed49bd0.tar.xz
re3-f0890b11122291a22d6a65f349281cf1aed49bd0.tar.zst
re3-f0890b11122291a22d6a65f349281cf1aed49bd0.zip
Diffstat (limited to 'src/vehicles/DamageManager.cpp')
-rw-r--r--src/vehicles/DamageManager.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/vehicles/DamageManager.cpp b/src/vehicles/DamageManager.cpp
index 9a697b6b..03ccfe77 100644
--- a/src/vehicles/DamageManager.cpp
+++ b/src/vehicles/DamageManager.cpp
@@ -1,5 +1,5 @@
#include "common.h"
-#include "patcher.h"
+
#include "General.h"
#include "Vehicle.h"
#include "DamageManager.h"
@@ -228,24 +228,3 @@ CDamageManager::ProgressEngineDamage(void)
SetEngineStatus(newstatus);
return true;
}
-
-STARTPATCHES
- InjectHook(0x545850, &CDamageManager::ResetDamageStatus, PATCH_JUMP);
- InjectHook(0x545B70, &CDamageManager::FuckCarCompletely, PATCH_JUMP);
- InjectHook(0x545790, &CDamageManager::GetComponentGroup, PATCH_JUMP);
- InjectHook(0x545A80, &CDamageManager::ApplyDamage, PATCH_JUMP);
- InjectHook(0x545920, &CDamageManager::SetDoorStatus, PATCH_JUMP);
- InjectHook(0x545930, &CDamageManager::GetDoorStatus, PATCH_JUMP);
- InjectHook(0x545970, &CDamageManager::ProgressDoorDamage, PATCH_JUMP);
- InjectHook(0x5458B0, &CDamageManager::SetPanelStatus, PATCH_JUMP);
- InjectHook(0x5458E0, (int32 (CDamageManager::*)(int32))&CDamageManager::GetPanelStatus, PATCH_JUMP);
- InjectHook(0x545A00, &CDamageManager::ProgressPanelDamage, PATCH_JUMP);
- InjectHook(0x545860, &CDamageManager::SetLightStatus, PATCH_JUMP);
- InjectHook(0x545890, &CDamageManager::GetLightStatus, PATCH_JUMP);
- InjectHook(0x545900, &CDamageManager::SetWheelStatus, PATCH_JUMP);
- InjectHook(0x545910, &CDamageManager::GetWheelStatus, PATCH_JUMP);
- InjectHook(0x545A40, &CDamageManager::ProgressWheelDamage, PATCH_JUMP);
- InjectHook(0x545940, &CDamageManager::SetEngineStatus, PATCH_JUMP);
- InjectHook(0x545960, &CDamageManager::GetEngineStatus, PATCH_JUMP);
- InjectHook(0x5459B0, &CDamageManager::ProgressEngineDamage, PATCH_JUMP);
-ENDPATCHES