complier warnings about uninitialized variables

origin
stpohle 19 years ago
parent 8445cd1ab9
commit de540ae50b

@ -1,4 +1,4 @@
/* $Id: field.c,v 1.58 2004/08/30 20:01:32 stpohle Exp $ */ /* $Id: field.c,v 1.59 2006/08/15 16:05:09 stpohle Exp $ */
/* field.c - procedures which are needed to control the field */ /* field.c - procedures which are needed to control the field */
#include "bomberclone.h" #include "bomberclone.h"
@ -434,7 +434,9 @@ field_hurrysize ()
{ {
int i; int i;
_point old; _point old;
old.x = old.y = 0;
fieldhurry_to -= timediff; fieldhurry_to -= timediff;
if (fieldhurry_to <= 0 || fieldhurry_to > FIELDHURRYSIZE) { if (fieldhurry_to <= 0 || fieldhurry_to > FIELDHURRYSIZE) {
fieldhurry_to = FIELDHURRYSIZE; fieldhurry_to = FIELDHURRYSIZE;

Loading…
Cancel
Save