version 1.53 | | version 1.54 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.53 2001/05/29 04:41:54 mwedel Exp $"; | | * "$Id: spell_util.c,v 1.54 2001/06/13 10:52:14 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
case SP_CONFLICT: | | case SP_CONFLICT: |
success = cast_cause_conflict(op,caster,spellarch[type],type); | | success = cast_cause_conflict(op,caster,spellarch[type],type); |
break; | | break; |
| | case SP_TOWN_PORTAL: |
| | success= cast_create_town_portal (op,caster,dir); |
| | break; |
} | | } |
| | |
play_sound_map(op->map, op->x, op->y, SOUND_CAST_SPELL_0 + type); | | play_sound_map(op->map, op->x, op->y, SOUND_CAST_SPELL_0 + type); |