version 1.99 | | version 1.100 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.99 2003/02/24 07:39:00 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.100 2003/02/25 07:18:07 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
*/ | | */ |
int cast_create_town_portal (object *op, object *caster, int dir) | | int cast_create_town_portal (object *op, object *caster, int dir) |
{ | | { |
#define PORTAL_DESTINATION_NAME "Town portal destination" | | |
#define PORTAL_ACTIVE_NAME "Existing town portal" | | |
| | |
object *dummy, *force, *old_force, *tmp; | | object *dummy, *force, *old_force, *tmp; |
archetype *perm_portal; | | archetype *perm_portal; |
char portal_name [1024], portal_message [1024]; | | char portal_name [1024], portal_message [1024]; |
| | |
remove_ob (tmp); | | remove_ob (tmp); |
free_object (tmp); | | free_object (tmp); |
break; | | break; |
| | } else { |
| | tmp = tmp->above; |
} | | } |
} | | } |
} | | } |