summaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'game.c')
-rw-r--r--game.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/game.c b/game.c
index e0246b6..bffd98b 100644
--- a/game.c
+++ b/game.c
@@ -139,7 +139,9 @@ int play_level(SDL_Renderer* renderer, struct level_struct *currentlevel)
// Move all of the echidnas
run_all_echidnaAI_onestep( currentlevel );
- // And make sure we open/close red doors if any of them are stepping on red levers
+
+ // And make sure we open/close red doors if any
+ // of them are stepping on red levers
check_echidna_on_switches( currentlevel );
// Check to see if the player has run into an echidna
@@ -150,8 +152,9 @@ int play_level(SDL_Renderer* renderer, struct level_struct *currentlevel)
}
}
- // The code running play_level needs to know if too advance to the next level
- // or just repeat the current one ( if the player has died )
+ // The code running play_level needs to know if too advance
+ // to the next level or just repeat the current one (if the
+ // player has died)
return player_status;
}