version 1.48 | | version 1.49 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.48 2001/10/15 21:12:08 garbled Exp $"; | | * "$Id: apply.c,v 1.49 2001/10/31 07:00:24 garbled Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
LOG(llevDebug, "Scripting Weapon wielded\n"); | | LOG(llevDebug, "Scripting Weapon wielded\n"); |
if (who->current_weapon_script) free_string(who->current_weapon_script); | | if (who->current_weapon_script) free_string(who->current_weapon_script); |
who->current_weapon_script=add_string(query_name(op)); | | who->current_weapon_script=add_string(query_name(op)); |
who->current_weapon = op; | | |
}; | | }; |
#endif | | #endif |
| | who->current_weapon = op; |
sprintf(buf,"You wield %s.",query_name(op)); | | sprintf(buf,"You wield %s.",query_name(op)); |
break; | | break; |
} | | } |