version 1.18 | | version 1.19 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * 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 | | CrossFire, A Multiplayer game for X-windows |
| | |
object *tmp,*above=NULL; | | object *tmp,*above=NULL; |
int x,y; | | int x,y; |
| | |
| | if(m==NULL) return; |
| | |
for(x=0;x<m->mapx;x++) | | for(x=0;x<m->mapx;x++) |
for(y=0;y<m->mapy;y++) | | for(y=0;y<m->mapy;y++) |
for(tmp=get_map_ob(m,x,y);tmp!=NULL;tmp=above) { | | for(tmp=get_map_ob(m,x,y);tmp!=NULL;tmp=above) { |