version 1.171 | | version 1.172 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.171 2005/08/12 08:18:59 ryo_saeba Exp $"; | | * "$Id: player.c,v 1.172 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
else if(key=='a'||key=='A') { | | else if(key=='a'||key=='A') { |
player *pl = op->contr; | | player *pl = op->contr; |
char *name = op->name; | | const char *name = op->name; |
| | |
add_refcount(name); | | add_refcount(name); |
remove_friendly_object(op); | | remove_friendly_object(op); |
| | |
| | |
tmp_loop = 0; | | tmp_loop = 0; |
while(!tmp_loop) { | | while(!tmp_loop) { |
char *name = add_string (op->name); | | const char *name = add_string (op->name); |
int x = op->x, y = op->y; | | int x = op->x, y = op->y; |
remove_statbonus(op); | | remove_statbonus(op); |
remove_ob (op); | | remove_ob (op); |
| | |
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) |
{ | | { |
CFR = (PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP); | | CFR = (PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP); |