Changeset - r15174:e5ba75da7e48
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-05-13 10:00:51
rubidium@openttd.org
(svn r19813) -Fix (r19807): initialising viewports kinda failed
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/main_gui.cpp
Show inline comments
 
@@ -136,7 +136,10 @@ bool DoZoomInOutWindow(ZoomStateChange h
 
	vp = w->viewport;
 

	
 
	switch (how) {
 
		case ZOOM_NONE: NOT_REACHED();
 
		case ZOOM_NONE:
 
			/* On initialisation of the viewport we don't do anything. */
 
			break;
 

	
 
		case ZOOM_IN:
 
			if (vp->zoom == ZOOM_LVL_MIN) return false;
 
			vp->zoom = (ZoomLevel)((int)vp->zoom - 1);
0 comments (0 inline, 0 general)