src/Player.cc
changeset 409 1a03ff151abc
parent 408 e6cfc44266af
child 412 721c60072091
--- a/src/Player.cc	Tue Jan 20 23:30:18 2009 +0200
+++ b/src/Player.cc	Wed Jan 21 00:21:42 2009 +0200
@@ -98,9 +98,9 @@
 
 void Player::respawn (TimeMS dt) {
     (void) dt;
-
-    // XXX: ...
-    spawn(Vector(PLAYER_INITIAL_X, PLAYER_INITIAL_Y));
+    
+    // spawn in the middle of the world
+    spawn(world.dimensions / 2); 
 }
 
 void Player::handleDig (Vector pos, float radius) {