diff options
author | aap <aap@papnet.eu> | 2021-02-13 14:22:00 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-13 14:22:11 +0100 |
commit | 9c7d83ebc138d94b640feeb0b6808cc5fccb543c (patch) | |
tree | c69c2d669e223501443372d0bdd38ce44c462f55 /src/core | |
parent | debugmenu cleanup (diff) | |
download | re3-9c7d83ebc138d94b640feeb0b6808cc5fccb543c.tar re3-9c7d83ebc138d94b640feeb0b6808cc5fccb543c.tar.gz re3-9c7d83ebc138d94b640feeb0b6808cc5fccb543c.tar.bz2 re3-9c7d83ebc138d94b640feeb0b6808cc5fccb543c.tar.lz re3-9c7d83ebc138d94b640feeb0b6808cc5fccb543c.tar.xz re3-9c7d83ebc138d94b640feeb0b6808cc5fccb543c.tar.zst re3-9c7d83ebc138d94b640feeb0b6808cc5fccb543c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/re3.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 98024219..e0f9c5c2 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -753,6 +753,11 @@ PlaceOnRoad(void) ((CAutomobile*)veh)->PlaceOnRoadProperly(); } +static void +ResetCamStatics(void) +{ + TheCamera.Cams[TheCamera.ActiveCam].ResetStatics = true; +} #ifdef MISSION_SWITCHER int8 nextMissionToSwitch = 0; @@ -1050,11 +1055,11 @@ extern bool gbRenderWorld2; #endif DebugMenuAddVarBool8("Cam", "Print Debug Code", &PrintDebugCode, nil); DebugMenuAddVar("Cam", "Cam Mode", &DebugCamMode, nil, 1, 0, CCam::MODE_EDITOR, nil); - // DebugMenuAddCmd("Cam", "Normal", []() { DebugCamMode = 0; }); + DebugMenuAddCmd("Cam", "Normal", []() { DebugCamMode = 0; }); // DebugMenuAddCmd("Cam", "Follow Ped With Bind", []() { DebugCamMode = CCam::MODE_FOLLOW_PED_WITH_BIND; }); // DebugMenuAddCmd("Cam", "Reaction", []() { DebugCamMode = CCam::MODE_REACTION; }); // DebugMenuAddCmd("Cam", "Chris", []() { DebugCamMode = CCam::MODE_CHRIS; }); - // DebugMenuAddCmd("Cam", "Reset Statics", ResetCamStatics); + DebugMenuAddCmd("Cam", "Reset Statics", ResetCamStatics); CTweakVars::AddDBG("Debug"); } |