version 1.122 | | version 1.123 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.122 2005/05/06 21:10:24 tchize Exp $"; | | * "$Id: apply.c,v 1.123 2005/05/07 11:51:20 tchize Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
((PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP)); | | ((PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP)); |
} | | } |
else{ | | else{ |
char buf[HUGE_BUF]; | | |
char nicebuf[HUGE_BUF]; | | |
snprintf(buf,HUGE_BUF,"You open the %s and start reading.\n%s", tmp->name, tmp->msg); | | |
snprintf(nicebuf,HUGE_BUF,"%s\n%s", long_desc(tmp,op), tmp->msg); | | |
readable_message_type* msgType = get_readable_message_type(tmp); | | readable_message_type* msgType = get_readable_message_type(tmp); |
draw_ext_info_format(NDI_UNIQUE | NDI_NAVY, 0, op, | | draw_ext_info_format(NDI_UNIQUE | NDI_NAVY, 0, op, |
msgType->message_type, msgType->message_subtype, | | msgType->message_type, msgType->message_subtype, |