Nemesis game, engine
Revision 14:94011e4a0624, committed 2017-05-04
- Comitter:
- musallambseiso
- Date:
- Thu May 04 11:29:47 2017 +0000
- Parent:
- 13:f3560c403397
- Commit message:
- Final version
Changed in this revision
Engine.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f3560c403397 -r 94011e4a0624 Engine.cpp --- 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) ||