version 1.40 | | version 1.41 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.40 2002/11/13 04:57:32 garbled Exp $"; | | * "$Id: c_object.c,v 1.41 2002/11/26 08:48:20 garbled Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
}; | | }; |
} else | | } else |
remove_ob (tmp); | | remove_ob (tmp); |
#ifdef PLUGINS | | |
/* GROS: Handle for plugin drop event */ | | /* GROS: Handle for plugin drop event */ |
if(tmp->event_hook[EVENT_DROP] != NULL) | | if(tmp->event_hook[EVENT_DROP] != NULL) |
{ | | { |
| | |
if (rtn_script!=0) return; | | if (rtn_script!=0) return; |
} | | } |
} | | } |
#endif | | |
if (QUERY_FLAG (tmp, FLAG_STARTEQUIP)) { | | if (QUERY_FLAG (tmp, FLAG_STARTEQUIP)) { |
sprintf(buf,"You drop the %s.", query_name(tmp)); | | sprintf(buf,"You drop the %s.", query_name(tmp)); |
new_draw_info(NDI_UNIQUE, 0,op,buf); | | new_draw_info(NDI_UNIQUE, 0,op,buf); |