version 1.97 | | version 1.98 |
---|
| | |
/* | | /* |
* static char *rcsid_main_c = | | * static char *rcsid_main_c = |
* "$Id: main.c,v 1.97 2005/09/24 09:28:05 ryo_saeba Exp $"; | | * "$Id: main.c,v 1.98 2005/10/07 19:38:49 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* random maps use this or not. | | * random maps use this or not. |
*/ | | */ |
if(exit_ob->stats.dam && op->type==PLAYER) | | if(exit_ob->stats.dam && op->type==PLAYER) |
hit_player(op,exit_ob->stats.dam,exit_ob,exit_ob->attacktype); | | hit_player(op,exit_ob->stats.dam,exit_ob,exit_ob->attacktype,1); |
return; | | return; |
} | | } |
} else { | | } else { |
| | |
} | | } |
/* For exits that cause damages (like pits) */ | | /* For exits that cause damages (like pits) */ |
if(exit_ob->stats.dam && op->type==PLAYER) | | if(exit_ob->stats.dam && op->type==PLAYER) |
hit_player(op,exit_ob->stats.dam,exit_ob,exit_ob->attacktype); | | hit_player(op,exit_ob->stats.dam,exit_ob,exit_ob->attacktype,1); |
} else { | | } else { |
int flags = 0; | | int flags = 0; |
mapstruct *newmap; | | mapstruct *newmap; |