diff options
author | truelight <truelight@openttd.org> | 2007-05-15 14:08:39 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-05-15 14:08:39 +0000 |
commit | d3f375231f194f0d29ac4020337cfafd46ede9bf (patch) | |
tree | 8be72fe02f196559ceab115af10a4a7e142fc46a /src/town_gui.cpp | |
parent | 196ddae1db750e9e502bf972352f2cee747100aa (diff) | |
download | openttd-d3f375231f194f0d29ac4020337cfafd46ede9bf.tar.xz |
(svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index f4af235ec..565a7ecec 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -349,7 +349,7 @@ void ShowTownViewWindow(TownID town) if (w != NULL) { w->flags4 |= WF_DISABLE_VP_SCROLL; - AssignWindowViewport(w, 3, 17, 0xFE, 0x56, GetTown(town)->xy, 1); + AssignWindowViewport(w, 3, 17, 0xFE, 0x56, GetTown(town)->xy, ZOOM_LVL_TOWN); } } |