(svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate

This commit is contained in:
smatz
2009-03-15 15:25:18 +00:00
parent 4f8eeca437
commit af293142fe
8 changed files with 25 additions and 15 deletions

View File

@@ -176,7 +176,7 @@ void ZoomInOrOutToCursorWindow(bool in, Window *w)
Point pt = GetTileZoomCenterWindow(in, w);
if (pt.x != -1) {
ScrollWindowTo(pt.x, pt.y, w, true);
ScrollWindowTo(pt.x, pt.y, -1, w, true);
DoZoomInOutWindow(in ? ZOOM_IN : ZOOM_OUT, w);
}