--- deliantra/server/common/treasure.C 2008/10/05 14:16:13 1.83 +++ deliantra/server/common/treasure.C 2009/01/01 11:41:17 1.84 @@ -1568,9 +1568,11 @@ #endif return; } - if (!strcmp (art->item->name, "NONE")) + + if (art->item->name == shstr_NONE) return; - if (FABS (op->magic) < art->item->magic) + + if (fabs (op->magic) < art->item->magic) continue; /* Not magic enough to be this item */ /* Map difficulty not high enough */