From 2972f55a60aaec903b80d68022da1e72c6f579b1 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 7 Aug 2012 21:03:25 -0400 Subject: [PATCH] Reset emp flash when the save is cleared/loaded --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 2816037a4..6700d0cb5 100644 --- a/src/main.c +++ b/src/main.c @@ -339,6 +339,7 @@ void clear_sim(void) ISSPAWN1 = ISSPAWN2 = 0; player.spwn = 0; player2.spwn = 0; + emp_decor = 0; memset(pers_bg, 0, (XRES+BARSIZE)*YRES*PIXELSIZE); memset(fire_r, 0, sizeof(fire_r)); memset(fire_g, 0, sizeof(fire_g));