From 014813141daffb2e920b763f83dfcace0d5613fa Mon Sep 17 00:00:00 2001 From: fonsinchen Date: Sun, 5 Jan 2014 11:28:31 +0000 Subject: [PATCH] (svn r26228) -Fix: missing variable initialization --- src/smallmap_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index b1e3370a9c..9e91dc6324 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -715,6 +715,7 @@ void SmallMapWindow::SetZoomLevel(ZoomLevelChange change, const Point *zoom_pt) case ZLC_INITIALIZE: cur_index = - 1; // Definitely different from new_index. new_index = MIN_ZOOM_INDEX; + tile.x = tile.y = 0; break; case ZLC_ZOOM_IN: