mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 02:49:10 +00:00
(svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
This commit is contained in:
@@ -271,7 +271,7 @@ static void DrawOverlappedWindow(Window* const *wz, int left, int top, int right
|
||||
dp->top = top - (*wz)->top;
|
||||
dp->pitch = _screen.pitch;
|
||||
dp->dst_ptr = _screen.dst_ptr + top * _screen.pitch + left;
|
||||
dp->zoom = 0;
|
||||
dp->zoom = ZOOM_LVL_NORMAL;
|
||||
CallWindowEventNP(*wz, WE_PAINT);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user