fixed compilation warning

origin
ob1kenewb 23 years ago
parent 0c2b175eaa
commit 25f25682a0

@ -1,4 +1,4 @@
/* $Id: field.c,v 1.5 2003/05/04 20:26:16 ob1kenewb Exp $ */
/* $Id: field.c,v 1.6 2003/05/04 21:44:14 ob1kenewb Exp $ */
/* field.c - procedures which are needed to control the field */
#include <stdlib.h>
@ -95,7 +95,7 @@ void field_load(FILE *map)
int i;
int d;
while((currentline=fgets(&tmp,MAX_FIELDSIZE_X,map)))
while((currentline=fgets(tmp,MAX_FIELDSIZE_X,map)))
/* fgetln is only implemented on *BSD */
/* while((currentline=fgetln(map,&length))) */
{

Loading…
Cancel
Save