mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 02:40:47 +02:00
Reset emp flash when the save is cleared/loaded
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user