Reset emp flash when the save is cleared/loaded

This commit is contained in:
jacob1 2012-08-07 21:03:25 -04:00 committed by jacksonmj
parent 7e3c73f66f
commit 2972f55a60

View File

@ -339,6 +339,7 @@ void clear_sim(void)
ISSPAWN1 = ISSPAWN2 = 0; ISSPAWN1 = ISSPAWN2 = 0;
player.spwn = 0; player.spwn = 0;
player2.spwn = 0; player2.spwn = 0;
emp_decor = 0;
memset(pers_bg, 0, (XRES+BARSIZE)*YRES*PIXELSIZE); memset(pers_bg, 0, (XRES+BARSIZE)*YRES*PIXELSIZE);
memset(fire_r, 0, sizeof(fire_r)); memset(fire_r, 0, sizeof(fire_r));
memset(fire_g, 0, sizeof(fire_g)); memset(fire_g, 0, sizeof(fire_g));