Skip to content

Commit

Permalink
Fix uninitialised variable (sim->player(2).rocketBoots)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonmj committed Jul 24, 2016
1 parent 70b7fee commit f6615de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/simulation/Simulation.cpp
Expand Up @@ -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));
Expand Down

0 comments on commit f6615de

Please sign in to comment.