Reset emp flash when the save is cleared/loaded
This commit is contained in:
parent
7e3c73f66f
commit
2972f55a60
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user