forgot to reset variables on demo stop

This commit is contained in:
Latapostrophe 2019-09-11 21:30:11 +02:00
parent cea0ffab60
commit ca2f6685e4
1 changed files with 9 additions and 0 deletions

View File

@ -8115,6 +8115,15 @@ void G_StopDemo(void)
demo.timing = 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);
demo.rewinding = false;