version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_button_c = | | * static char *rcsid_button_c = |
* "$Id: button.c,v 1.8 2000/12/06 06:02:56 cvs Exp $"; | | * "$Id: button.c,v 1.9 2001/01/15 22:33:32 cvs 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 frankj@ifi.uio.no. | | The author can be reached via e-mail to mwedel@scruz.net |
*/ | | */ |
| | |
#include <global.h> | | #include <global.h> |
| | |
if(QUERY_FLAG(tmp, FLAG_FRIENDLY)) { | | if(QUERY_FLAG(tmp, FLAG_FRIENDLY)) { |
tmp->owner = 0; | | tmp->owner = 0; |
CLEAR_FLAG(tmp, FLAG_FRIENDLY); | | CLEAR_FLAG(tmp, FLAG_FRIENDLY); |
| | remove_friendly_object(tmp); |
tmp->move_type = 0; | | tmp->move_type = 0; |
} | | } |
break; | | break; |