CL_quad warning fixed
authornireco
Thu, 04 Dec 2008 17:12:46 +0000
changeset 195 53feb13a3d1c
parent 194 36048d3250d0
child 196 e2d32c4601ce
CL_quad warning fixed
src/GameState.cc
--- a/src/GameState.cc	Thu Dec 04 17:07:07 2008 +0000
+++ b/src/GameState.cc	Thu Dec 04 17:12:46 2008 +0000
@@ -85,10 +85,10 @@
 
 
     CL_Quad player(
-                   (position).x+1, (position).y+1,
-                   (position).x-1, (position).y+1,
-                   (position).x+1, (position).y-1,
-                   (position).x-1, (position).y-1
+                   (int)((position).x+1), (int)((position).y+1),
+                   (int)((position).x-1), (int)((position).y+1),
+                   (int)((position).x+1), (int)((position).y-1),
+                   (int)((position).x-1), (int)((position).y-1)
                    );
 
     gc->fill_quad(player, CL_Color::green);