--- 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);