(svn r26228) -Fix: missing variable initialization
This commit is contained in:
@@ -715,6 +715,7 @@ void SmallMapWindow::SetZoomLevel(ZoomLevelChange change, const Point *zoom_pt)
|
|||||||
case ZLC_INITIALIZE:
|
case ZLC_INITIALIZE:
|
||||||
cur_index = - 1; // Definitely different from new_index.
|
cur_index = - 1; // Definitely different from new_index.
|
||||||
new_index = MIN_ZOOM_INDEX;
|
new_index = MIN_ZOOM_INDEX;
|
||||||
|
tile.x = tile.y = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ZLC_ZOOM_IN:
|
case ZLC_ZOOM_IN:
|
||||||
|
Reference in New Issue
Block a user