diff --git a/src/player.c b/src/player.c index 92fcca3..209a69b 100644 --- a/src/player.c +++ b/src/player.c @@ -1,4 +1,4 @@ -/* $Id: player.c,v 1.102 2005/07/06 13:11:56 stpohle Exp $ +/* $Id: player.c,v 1.103 2006/08/15 15:58:39 stpohle Exp $ * player.c - everything what have to do with the player */ #include @@ -298,7 +298,9 @@ stepmove_player (int pl_nr) _pointf _pos, // position inside the field d; // distance to move float speed = 0.0f; - + + d.x = d.y = 0.0f; + if (p->m == 1) { _pos.x = CUTINT(p->pos.x); _pos.y = CUTINT(p->pos.y);