src/GameState.cc
changeset 423 947ab54de4b7
parent 417 c503e0c6a740
--- a/src/GameState.cc	Thu Jan 22 03:19:25 2009 +0200
+++ b/src/GameState.cc	Thu Jan 22 03:53:17 2009 +0200
@@ -5,7 +5,7 @@
 #include "Error.hh"
 
 GameState::GameState (Terrain &terrain) : 
-    world(Vector(0, MAP_GRAVITY), Vector(terrain.getWidth(), terrain.getHeight()), terrain), 
+    world(Vector(0, MAP_GRAVITY), Vector((float) terrain.getWidth(), (float) terrain.getHeight()), terrain), 
     terrain(terrain),
     local_player(NULL), event_handler(NULL)
 {