summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-08-08 01:03:25 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2012-08-09 19:48:19 (GMT)
commit2972f55a60aaec903b80d68022da1e72c6f579b1 (patch)
tree11558d6330185b2f83da936073fc83cbf9e4d3df /src
parent7e3c73f66f24924ab3e3e11f96c3bc02eb950260 (diff)
downloadpowder-2972f55a60aaec903b80d68022da1e72c6f579b1.zip
powder-2972f55a60aaec903b80d68022da1e72c6f579b1.tar.gz
Reset emp flash when the save is cleared/loaded
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 2816037..6700d0c 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));