--- deliantra/Deliantra-Client/Client.xs 2006/10/13 19:23:08 1.162 +++ deliantra/Deliantra-Client/Client.xs 2006/10/18 12:53:45 1.163 @@ -1454,8 +1454,8 @@ int last_name; mapface face; - vx = self->x + self->w / 2 - sw / 2 - shift_x; - vy = self->y + self->h / 2 - sh / 2 - shift_y; + vx = self->x + ((self->w - sw) >> 1) - shift_x; + vy = self->y + ((self->h - sh) >> 1) - shift_y; /* int vx = self->vx = self->w >= sw