version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_decor_ = | | * static char *rcsid_decor_ = |
* "$Id: decor.c,v 1.5 2000/12/15 03:09:19 peterm Exp $"; | | * "$Id: decor.c,v 1.6 2001/07/14 04:08:06 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
| | Copyright (C) 2001 Mark Wedel |
Copyright (C) 1992 Frank Tore Johansen | | Copyright (C) 1992 Frank Tore Johansen |
| | |
This program is free software; you can redistribute it and/or modify | | This program is free software; you can redistribute it and/or modify |
| | |
along with this program; if not, write to the Free Software | | along with this program; if not, write to the Free Software |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| | |
The author can be reached via e-mail to mark@pyramid.com | | The author can be reached via e-mail to mwedel@scruz.net |
*/ | | */ |
| | |
| | |
| | |
this_object->y = y; | | this_object->y = y; |
/* it screws things up if decor can stop people */ | | /* it screws things up if decor can stop people */ |
CLEAR_FLAG(this_object,FLAG_NO_PASS); | | CLEAR_FLAG(this_object,FLAG_NO_PASS); |
insert_ob_in_map(this_object,map,NULL); | | insert_ob_in_map(this_object,map,NULL,0); |
number_to_place--; | | number_to_place--; |
} | | } |
else failures++; | | else failures++; |
| | |
this_object->y = j; | | this_object->y = j; |
/* it screws things up if decor can stop people */ | | /* it screws things up if decor can stop people */ |
CLEAR_FLAG(this_object,FLAG_NO_PASS); | | CLEAR_FLAG(this_object,FLAG_NO_PASS); |
insert_ob_in_map(this_object,map,NULL); | | insert_ob_in_map(this_object,map,NULL,0); |
} | | } |
} | | } |
| | |