--- deliantra/server/server/c_wiz.C 2008/12/28 04:00:23 1.64 +++ deliantra/server/server/c_wiz.C 2008/12/31 17:35:37 1.65 @@ -1101,11 +1101,6 @@ * Used for wizard's learn spell/prayer. * * op is the player issuing the command. - * - * Ignores archetypes "spelldirect_xxx" since these archetypes are not used - * anymore (but may still be present in some player's inventories and thus - * cannot be removed). We have to ignore them here since they have the same - * name than other "spell_xxx" archetypes and would always conflict. */ static object * get_spell_by_name (object *op, const char *spell_name) @@ -1123,13 +1118,10 @@ if (at->type != SPELL) continue; - if (strncmp (at->archname, "spelldirect_", 12) == 0) - continue; - if (strcmp (at->object::name, spell_name) != 0) continue; - if (found != NULL) + if (found) { if (!conflict_found) {