complier warnings about uninitialized variables

origin
stpohle 19 years ago
parent 92af07f9d7
commit 8445cd1ab9

@ -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 <SDL.h>
@ -299,6 +299,8 @@ stepmove_player (int pl_nr)
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);

Loading…
Cancel
Save