mirror of https://github.com/OpenTTD/OpenTTD
(svn r26228) -Fix: missing variable initialization
parent
1aa26b30c7
commit
014813141d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue