changeset 3:868670fcc17b

Fix status type status is used as an int, due to this bug the GAME_OVER_CLEARED flag was lost and the bonuses for a cleared board was not applied.
author Guido Berhoerster <guido+rantaiwarna@berhoerster.name>
date Fri, 24 Oct 2014 17:00:42 +0200
parents 08c750f7c4a7
children aec74ae4d6e5
files board.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/board.h	Tue Apr 15 00:57:21 2014 +0200
+++ b/board.h	Fri Oct 24 17:00:42 2014 +0200
@@ -38,7 +38,7 @@
 	int		width;
 	short		colors;
 	int32_t		score;
-	bool		status;
+	int		status;
 };
 
 struct board_ctx * board_create(int, int, short);