summaryrefslogtreecommitdiffstats
path: root/src/entities/CivilianPed.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/entities/CivilianPed.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/entities/CivilianPed.cpp b/src/entities/CivilianPed.cpp
new file mode 100644
index 00000000..cf589211
--- /dev/null
+++ b/src/entities/CivilianPed.cpp
@@ -0,0 +1,14 @@
+#include "common.h"
+#include "patcher.h"
+#include "CivilianPed.h"
+
+CCivilianPed::CCivilianPed(int pedtype, int mi)
+{
+ ctor(pedtype, mi);
+}
+
+WRAPPER CCivilianPed* CCivilianPed::ctor(int pedtype, int mi) { EAXJMP(0x4BFF30); }
+
+STARTPATCHES
+ InjectHook(0x4BFFC0, &CCivilianPed::dtor, PATCH_JUMP);
+ENDPATCHES \ No newline at end of file