[CF-Devel] CVS update: crossfire/server
Crossfire CVS devel
mwedel at scruznet.com
Thu Oct 12 12:17:04 CDT 2000
Date: Thursday October 12, 2000 @ 10:17
Author: peterm
Update of /home/cvs/CVS/crossfire/server
In directory boltzmann.eecs.berkeley.edu:/tmp/cvs-serv16607/server
Modified Files:
apply.c
Log Message:
Fixes for RECYCLE_TMP_MAPS + random maps crashing interaction.
--PeterM
****************************************
Index: crossfire/server/apply.c
diff -u crossfire/server/apply.c:1.18 crossfire/server/apply.c:1.19
--- crossfire/server/apply.c:1.18 Tue Jun 20 00:33:38 2000
+++ crossfire/server/apply.c Thu Oct 12 10:17:04 2000
@@ -1,6 +1,6 @@
/*
* static char *rcsid_apply_c =
- * "$Id: apply.c,v 1.18 2000/06/20 07:33:38 peterm Exp $";
+ * "$Id: apply.c,v 1.19 2000/10/12 17:17:04 peterm Exp $";
*/
/*
CrossFire, A Multiplayer game for X-windows
@@ -2319,6 +2319,8 @@
void fix_auto_apply(mapstruct *m) {
object *tmp,*above=NULL;
int x,y;
+
+ if(m==NULL) return;
for(x=0;x<m->mapx;x++)
for(y=0;y<m->mapy;y++)
More information about the crossfire
mailing list