Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/space-dragon.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2014-10-12 18:27:08 +0400
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2014-10-12 18:27:08 +0400
commit0b6cdd355b316c3fea20bc85f1c5607376193b20 (patch)
treed3de7c629165131bf8094af585370075281dee6a /src
parentf3be72d9ed9854d9b8e709fe473a4f92dd9080fe (diff)
Tiny bugfixHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index affca32..29cffb4 100644
--- a/src/game.c
+++ b/src/game.c
@@ -162,7 +162,7 @@ static void update_asteroids()
asteroid->x += asteroid->speed_x;
asteroid->y += asteroid->speed_y;
// Game over?
- if (!god_mode && is_boom(asteroid) && !game_over_stop_time)
+ if (!game_over && !god_mode && is_boom(asteroid) && !game_over_stop_time)
{
vibes_short_pulse();
game_over_stop_time = time_ticks + (500 / UPDATE_INTERVAL); // Some more time to rumble...