summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-08 06:02:31 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-08 06:02:31 +0100
commit9a98118c3d9a062b33134e8354620be43ecf3786 (patch)
treeee04aa9b65a401a720e387439b8180578ee8cbfe /main.c
parentc1e13470835e18ac0077bf77ce8f77db07144bcf (diff)
improve code and fix numerous bugs
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index acbd749..02a0a9f 100644
--- a/main.c
+++ b/main.c
@@ -148,6 +148,8 @@ void Finitialiserpositions (POSITIONS *positions, SURFACES *surfaces)
z++;
}
}
+
+ positions->last_cursor = (SDL_Rect){0, 0, 0, 0};
}
static void colorize_surface(SDL_Surface *surf, const SDL_PixelFormat *fmt, Uint32 incr)