Index: smallmap_gui.c =================================================================== --- smallmap_gui.c (revision 7130) +++ smallmap_gui.c (working copy) @@ -699,8 +699,8 @@ (v->vehstatus & (VS_HIDDEN | VS_UNCLICKABLE)) == 0) { // Remap into flat coordinates. Point pt = RemapCoords( - (v->x_pos - WP(w,smallmap_d).scroll_x) / 16, - (v->y_pos - WP(w,smallmap_d).scroll_y) / 16, + (v->x_pos/16) - (WP(w,smallmap_d).scroll_x/16), + (v->y_pos/16) - (WP(w,smallmap_d).scroll_y/16), 0); x = pt.x; y = pt.y;