version 1.10 | | version 1.11 |
---|
| | |
/* | | /* |
* static char *rcsid_door_c = | | * static char *rcsid_door_c = |
* "$Id: door.c,v 1.10 2001/05/15 08:23:17 mardahl Exp $"; | | * "$Id: door.c,v 1.11 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 |
*/ | | */ |
| | |
#include <global.h> | | #include <global.h> |
| | |
copy_object(this_door,new_door); | | copy_object(this_door,new_door); |
new_door->x = i; | | new_door->x = i; |
new_door->y = j; | | new_door->y = j; |
insert_ob_in_map(new_door,the_map,NULL); | | insert_ob_in_map(new_door,the_map,NULL,0); |
} | | } |
} | | } |
} | | } |