Permalink
Browse files

Fix uninitialised variable (sim->player(2).rocketBoots)

  • Loading branch information...
jacksonmj committed Jul 24, 2016
1 parent 70b7fee commit f6615deed2ecbbda6af5a5d1f5ea79eaac94879e
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/simulation/Simulation.cpp
@@ -1920,8 +1920,10 @@ void Simulation::clear_sim(void)
fighcount = 0;
player.spwn = 0;
player.spawnID = -1;
player.rocketBoots = false;
player2.spwn = 0;
player2.spawnID = -1;
player2.rocketBoots = false;
//memset(pers_bg, 0, WINDOWW*YRES*PIXELSIZE);
//memset(fire_r, 0, sizeof(fire_r));
//memset(fire_g, 0, sizeof(fire_g));

0 comments on commit f6615de

Please sign in to comment.