summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-10-03 15:49:44 +0000
committerfrosch <frosch@openttd.org>2010-10-03 15:49:44 +0000
commit22842fe035990dd8cbe1651c9af75b0bac4b8314 (patch)
tree30902341b9a6f281a7ac46e56510c8782d8585ee /src
parent92514c6b94bb1d3c8df2d766e412c763b2b44316 (diff)
downloadopenttd-22842fe035990dd8cbe1651c9af75b0bac4b8314.tar.xz
(svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows.
Diffstat (limited to 'src')
-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 36fba46be..bc8911283 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -642,7 +642,7 @@ class IndustryViewWindow : public Window
byte editbox_line; ///< The line clicked to open the edit box
byte clicked_line; ///< The line of the button that has been clicked
byte clicked_button; ///< The button that has been clicked (to raise)
- byte production_offset_y; ///< The offset of the production texts/buttons
+ int production_offset_y; ///< The offset of the production texts/buttons
int info_height; ///< Height needed for the #IVW_INFO panel
public: