mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
forgot to reset variables on demo stop
This commit is contained in:
parent
7ca181df6e
commit
cf9385c307
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…
Add table
Reference in a new issue