about summary refs log tree commit diff
path: root/src/game/game.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-10-28 23:14:18 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-10-28 23:14:18 +0000
commita33870845628fea75c96e4b3acebca0a2cd10f7a (patch)
treea34ed282e9acc39091aec7fe2af4adef93aa8fa5 /src/game/game.h
parentdab34697e79f5d6a97462b24249ef7c5b0f1813a (diff)
downloadzcatch-a33870845628fea75c96e4b3acebca0a2cd10f7a.tar.gz
zcatch-a33870845628fea75c96e4b3acebca0a2cd10f7a.zip
fixed support for flipped tiles
Diffstat (limited to 'src/game/game.h')
-rw-r--r--src/game/game.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game.h b/src/game/game.h
index 4fa22c08..62d67cb7 100644
--- a/src/game/game.h
+++ b/src/game/game.h
@@ -109,7 +109,7 @@ inline bool col_check_point(vec2 p) { return col_check_point(p.x, p.y); }
 struct mapres_entity
 {
 	int x, y;
-	int *data;
+	int data[1];
 };
 
 struct mapres_spawnpoint