version 1.62 | | version 1.63 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.62 2005/08/12 08:18:59 ryo_saeba Exp $"; | | * "$Id: skills.c,v 1.63 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
CFP.Value[6] = &m; | | CFP.Value[6] = &m; |
CFP.Value[7] = &m; | | CFP.Value[7] = &m; |
CFP.Value[8] = &l; | | CFP.Value[8] = &l; |
CFP.Value[9] = evt->hook; | | CFP.Value[9] = (void*)evt->hook; |
CFP.Value[10]= evt->options; | | CFP.Value[10]= (void*)evt->options; |
if (findPlugin(evt->plugin)>=0) { | | if (findPlugin(evt->plugin)>=0) { |
((PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP)); | | ((PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP)); |
return strlen(msg); | | return strlen(msg); |
| | |
CFP.Value[6] = &m; | | CFP.Value[6] = &m; |
CFP.Value[7] = &m; | | CFP.Value[7] = &m; |
CFP.Value[8] = &l; | | CFP.Value[8] = &l; |
CFP.Value[9] = evt->hook; | | CFP.Value[9] = (void*)evt->hook; |
CFP.Value[10]= evt->options; | | CFP.Value[10]= (void*)evt->options; |
if (findPlugin(evt->plugin)>=0) | | if (findPlugin(evt->plugin)>=0) |
((PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP)); | | ((PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP)); |
} | | } |