From cb9bd7386614d40012a73d5a041d8db390cbc82c Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 21 Jun 2020 20:42:02 +0300 Subject: [PATCH] reenable puppycam after level change --- src/game/bettercamera.inc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/bettercamera.inc.h b/src/game/bettercamera.inc.h index c871f84d..1be85fe9 100644 --- a/src/game/bettercamera.inc.h +++ b/src/game/bettercamera.inc.h @@ -138,6 +138,9 @@ void newcam_init(struct Camera *c, u8 dv) { newcam_saved_defmode = -1; newcam_saved_mode = -1; + // this will be set in init_settings() if enabled + newcam_active = 0; + newcam_distance = newcam_distance_target; newcam_intendedmode = newcam_mode; newcam_modeflags = newcam_mode;