summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-04-17 06:01:54 +0200
committereray orçunus <erayorcunus@gmail.com>2020-04-17 06:01:54 +0200
commit425395ad2547e262c5c6f62b4c3fd95dd79ee679 (patch)
treed0d282606cc5f3148a927c7e59267bbac321161f /src/core
parentMerge pull request #455 from erorcun/erorcun (diff)
downloadre3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.gz
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.bz2
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.lz
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.xz
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.zst
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.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);