--- deliantra/server/common/treasure.C 2006/09/14 22:34:00 1.19 +++ deliantra/server/common/treasure.C 2006/09/26 17:19:38 1.20 @@ -1558,12 +1558,8 @@ op->item_power = change->item_power; for (i = 0; i < NROFATTACKS; i++) - { - if (change->resist[i]) - { - op->resist[i] += change->resist[i]; - } - } + if (change->resist[i]) + op->resist[i] += change->resist[i]; if (change->stats.dam) {