--- deliantra/server/common/object.C 2006/12/25 11:25:49 1.82 +++ deliantra/server/common/object.C 2006/12/25 14:43:22 1.83 @@ -693,7 +693,7 @@ return; /* make sure the object is within map boundaries */ - if (op->x < 0 || op->x >= MAP_WIDTH (op->map) || op->y < 0 || op->y >= MAP_HEIGHT (op->map)) + if (op->x < 0 || op->x >= op->map->width || op->y < 0 || op->y >= op->map->height) { LOG (llevError, "update_object() called for object out of map!\n"); #ifdef MANY_CORES