Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
--- 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) ||