summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-04-17 06:04:58 +0200
committerGitHub <noreply@github.com>2020-04-17 06:04:58 +0200
commitde18bdc5d96cef011570b1517823a3bad1411fad (patch)
treed0d282606cc5f3148a927c7e59267bbac321161f /src/core
parentMerge pull request #455 from erorcun/erorcun (diff)
parentPed fixes and ref removal (diff)
downloadre3-de18bdc5d96cef011570b1517823a3bad1411fad.tar
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.gz
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.bz2
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.lz
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.xz
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.zst
re3-de18bdc5d96cef011570b1517823a3bad1411fad.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/re3.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index ecf02f39..2046a7f9 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -350,6 +350,9 @@ DebugMenuPopulate(void)
DebugMenuAddVarBool8("Debug", "Draw hud", (int8*)&CHud::m_Wants_To_Draw_Hud, nil);
DebugMenuAddVarBool8("Debug", "Edit on", (int8*)&CSceneEdit::m_bEditOn, nil);
+#ifdef MENU_MAP
+ DebugMenuAddCmd("Debug", "Teleport to map waypoint", TeleportToWaypoint);
+#endif
DebugMenuAddVar("Debug", "Engine Status", &engineStatus, nil, 1, 0, 226, nil);
DebugMenuAddCmd("Debug", "Set Engine Status", SetEngineStatus);
DebugMenuAddCmd("Debug", "Fix Car", FixCar);
@@ -374,9 +377,6 @@ 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);
-#ifdef MENU_MAP
- DebugMenuAddCmd("Debug", "Teleport to map waypoint", TeleportToWaypoint);
-#endif
#ifdef TOGGLEABLE_BETA_FEATURES
DebugMenuAddVarBool8("Debug", "Toggle banned particles", (int8*)&CParticle::bEnableBannedParticles, nil);
DebugMenuAddVarBool8("Debug", "Toggle popping heads on headshot", (int8*)&CPed::bPopHeadsOnHeadshot, nil);