Nemesis game, engine
Diff: Engine.cpp
- Revision:
- 14:94011e4a0624
- Parent:
- 13:f3560c403397
--- a/Engine.cpp Wed May 03 20:03:05 2017 +0000 +++ b/Engine.cpp Thu May 04 11:29:47 2017 +0000 @@ -297,7 +297,7 @@ void Engine::check_health_replenish() { if (!(collisions == 0) && // Checks if player isnt already at full health. - (rocket_regen_trigger == false)) { // Checks if health hasn't already been replenished this wave. (to prevent spamming) + (health_regen_trigger == false)) { // Checks if health hasn't already been replenished this wave. (to prevent spamming) if ((wave_counter == 20) || // Checks if the game is at a certain wave: (wave_counter == 40) || (wave_counter == 60) ||