From f6615deed2ecbbda6af5a5d1f5ea79eaac94879e Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Sun, 24 Jul 2016 20:09:28 +0100 Subject: [PATCH] Fix uninitialised variable (sim->player(2).rocketBoots) --- src/simulation/Simulation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 0e3d01932..a18386f64 100644 --- a/src/simulation/Simulation.cpp +++ b/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));