forgot to reset variables on demo stop

This commit is contained in:
Latapostrophe committed 2019-09-11 21:30:11 +02:00
1 parent cea0ffab60
commit ca2f6685e4
1 file changed
+9
+9
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;