summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-08-05 15:07:10 +0200
committereray orçunus <erayorcunus@gmail.com>2019-08-05 15:07:10 +0200
commit2fc69a0aa51e2fc73a42bec9d4bcf3d38e6b3af8 (patch)
tree6bbc8853d36e36b4b5b09071a6b51720a6f94884 /src/core
parentimplemented CHeli (diff)
downloadre3-2fc69a0aa51e2fc73a42bec9d4bcf3d38e6b3af8.tar
re3-2fc69a0aa51e2fc73a42bec9d4bcf3d38e6b3af8.tar.gz
re3-2fc69a0aa51e2fc73a42bec9d4bcf3d38e6b3af8.tar.bz2
re3-2fc69a0aa51e2fc73a42bec9d4bcf3d38e6b3af8.tar.lz
re3-2fc69a0aa51e2fc73a42bec9d4bcf3d38e6b3af8.tar.xz
re3-2fc69a0aa51e2fc73a42bec9d4bcf3d38e6b3af8.tar.zst
re3-2fc69a0aa51e2fc73a42bec9d4bcf3d38e6b3af8.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/re3.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 9681160f..9fe53579 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -16,6 +16,7 @@
#include "Boat.h"
#include "Heli.h"
#include "Automobile.h"
+#include "Ped.h"
#include "debugmenu_public.h"
#include <vector>
@@ -334,6 +335,9 @@ DebugMenuPopulate(void)
DebugMenuAddVarBool8("Debug", "Don't render Peds", (int8*)&gbDontRenderPeds, nil);
DebugMenuAddVarBool8("Debug", "Don't render Vehicles", (int8*)&gbDontRenderVehicles, nil);
DebugMenuAddVarBool8("Debug", "Don't render Objects", (int8*)&gbDontRenderObjects, nil);
+#ifndef FINAL
+ DebugMenuAddVarBool8("Debug", "Toggle unused fight feature", (int8*)&CPed::bUnusedFightThingOnPlayer, nil);
+#endif
DebugMenuAddCmd("Debug", "Start Credits", CCredits::Start);
DebugMenuAddCmd("Debug", "Stop Credits", CCredits::Stop);