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
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
parentf3be72d9ed9854d9b8e709fe473a4f92dd9080fe (diff)
Tiny bugfixHEADmaster
-rw-r--r--appinfo.json28
-rw-r--r--src/game.c2
2 files changed, 15 insertions, 15 deletions
diff --git a/appinfo.json b/appinfo.json
index d71d0d2..66ad3a0 100644
--- a/appinfo.json
+++ b/appinfo.json
@@ -3,7 +3,7 @@
"shortName": "Space Dragon",
"longName": "Space Dragon",
"companyName": "Cluster",
- "versionCode": 6,
+ "versionCode": 7,
"versionLabel": "1.5",
"watchapp": {
"watchface": false
@@ -11,19 +11,19 @@
"appKeys": {
"dummy": 0
},
- "resources": {
- "media": [
- {
- "file": "images/ship.png",
- "name": "IMAGE_SHIP",
- "type": "png"
- },
- {
- "file": "images/icon.png",
- "menuIcon": true,
- "name": "IMAGE_ICON",
- "type": "png"
- }
+ "resources": {
+ "media": [
+ {
+ "file": "images/ship.png",
+ "name": "IMAGE_SHIP",
+ "type": "png"
+ },
+ {
+ "file": "images/icon.png",
+ "menuIcon": true,
+ "name": "IMAGE_ICON",
+ "type": "png"
+ }
]
}
}
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...