summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-05-15 14:08:39 +0000
committertruelight <truelight@openttd.org>2007-05-15 14:08:39 +0000
commitd3f375231f194f0d29ac4020337cfafd46ede9bf (patch)
tree8be72fe02f196559ceab115af10a4a7e142fc46a /src/industry_gui.cpp
parent196ddae1db750e9e502bf972352f2cee747100aa (diff)
downloadopenttd-d3f375231f194f0d29ac4020337cfafd46ede9bf.tar.xz
(svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 1787835ec..18eaff5df 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -452,7 +452,7 @@ void ShowIndustryViewWindow(int industry)
WP(w, vp2_d).data_1 = 0;
WP(w, vp2_d).data_2 = 0;
WP(w, vp2_d).data_3 = 0;
- AssignWindowViewport(w, 3, 17, 0xFE, 0x56, GetIndustry(w->window_number)->xy + TileDiffXY(1, 1), 1);
+ AssignWindowViewport(w, 3, 17, 0xFE, 0x56, GetIndustry(w->window_number)->xy + TileDiffXY(1, 1), ZOOM_LVL_INDUSTRY);
}
}