version 1.36 | | version 1.37 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.36 2006/05/05 09:26:35 ryo_saeba Exp $"; | | * "$Id: spell_attack.c,v 1.37 2006/05/25 17:49:36 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
*/ | | */ |
| | |
if (op->spell && op->spell->type == SPELL && | | if (op->spell && op->spell->type == SPELL && |
!(get_map_flags(op->map, &m, target_x, target_y, &target_x, &target_y) & P_OUT_OF_MAP) && | | !(get_map_flags(op->map, &m, target_x, target_y, &target_x, &target_y) & P_OUT_OF_MAP)) { |
!(OB_TYPE_MOVE_BLOCK(op->spell, GET_MAP_MOVE_BLOCK(m, target_x, target_y)))) { | | |
| | |
/* Bullet spells have a bunch more customization that needs to be done */ | | /* Bullet spells have a bunch more customization that needs to be done */ |
if (op->spell->subtype == SP_BULLET) | | if (op->spell->subtype == SP_BULLET) |