From 9a98118c3d9a062b33134e8354620be43ecf3786 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 8 Jan 2015 06:02:31 +0100 Subject: improve code and fix numerous bugs Signed-off-by: Olivier Gayot --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') 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) -- cgit v1.2.3