--- deliantra/server/server/spell_effect.c 2006/04/24 19:34:18 1.3 +++ deliantra/server/server/spell_effect.c 2006/04/28 13:56:27 1.4 @@ -890,9 +890,11 @@ * map. This can be determined in that per player unique maps have the * full pathname listed. */ - if (!strncmp(op->map->path, settings.localdir, strlen(settings.localdir))) { - new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"You can't cast that here.\n"); - return 0; + if (!strncmp(op->map->path, settings.localdir, strlen(settings.localdir)) && + settings.create_home_portals != TRUE ) + { + new_draw_info(NDI_UNIQUE | NDI_NAVY, 0,op,"You can't cast that here.\n"); + return 0; } /* The first thing to do is to check if we have a marked destination