--- deliantra/server/server/move.C 2006/09/16 22:24:13 1.9 +++ deliantra/server/server/move.C 2006/12/12 20:53:03 1.10 @@ -123,7 +123,7 @@ if (op->head) return 1; - remove_ob (op); + op->remove (); /* we already have newx, newy, and m, so lets use them. * In addition, this fixes potential crashes, because multipart object was @@ -171,7 +171,7 @@ if (op->head != NULL) op = op->head; - remove_ob (op); + op->remove (); for (tmp = op; tmp != NULL; tmp = tmp->more) tmp->x = x + freearr_x[i] + (tmp->arch == NULL ? 0 : tmp->arch->clone.x), tmp->y = y + freearr_y[i] + (tmp->arch == NULL ? 0 : tmp->arch->clone.y); @@ -274,7 +274,7 @@ return 0; } - remove_ob (user); + user->remove (); /* Update location for the object */ for (tmp = user; tmp != NULL; tmp = tmp->more) @@ -391,7 +391,7 @@ if (try_fit (op, m, x, y)) return 0; - remove_ob (op); + op->remove (); for (tmp = op; tmp != NULL; tmp = tmp->more) tmp->x += freearr_x[dir], tmp->y += freearr_y[dir]; insert_ob_in_map (op, op->map, pusher, 0); @@ -425,8 +425,8 @@ int temp; maptile *m; - remove_ob (who); - remove_ob (pusher); + who->remove (); + pusher->remove (); temp = pusher->x; pusher->x = who->x; who->x = temp;