--- deliantra/server/common/utils.C 2006/12/25 11:25:49 1.29 +++ deliantra/server/common/utils.C 2006/12/25 14:54:44 1.31 @@ -208,8 +208,8 @@ if (m->unique) return; - for (x = 0; x < MAP_WIDTH (m); x++) - for (y = 0; y < MAP_HEIGHT (m); y++) + for (x = 0; x < m->width; x++) + for (y = 0; y < m->height; y++) for (op = GET_MAP_OB (m, x, y); op; op = otmp) { destroy = 0; @@ -257,7 +257,7 @@ destroy = 1; if ((op->material & M_SOFT_METAL || op->material & M_BONE) && rndm (1, 3) == 1) destroy = 1; - if (op->material & M_ICE && MAP_TEMP (m) > 32) + if (op->material & M_ICE && m->temp > 32) destroy = 1; } /* adjust overall chance below */