mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 13:51:31 +00:00
forgot to reset variables on demo stop
This commit is contained in:
parent
cea0ffab60
commit
ca2f6685e4
1 changed files with 9 additions and 0 deletions
|
@ -8115,6 +8115,15 @@ void G_StopDemo(void)
|
||||||
demo.timing = false;
|
demo.timing = false;
|
||||||
singletics = false;
|
singletics = false;
|
||||||
|
|
||||||
|
demo.freecam = false;
|
||||||
|
// reset democam shit too:
|
||||||
|
democam.cam = NULL;
|
||||||
|
democam.soundmobj = NULL;
|
||||||
|
democam.localangle = 0;
|
||||||
|
democam.localaiming = 0;
|
||||||
|
democam.turnheld = false;
|
||||||
|
democam.keyboardlook = false;
|
||||||
|
|
||||||
CV_SetValue(&cv_playbackspeed, 1);
|
CV_SetValue(&cv_playbackspeed, 1);
|
||||||
demo.rewinding = false;
|
demo.rewinding = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue