From 22842fe035990dd8cbe1651c9af75b0bac4b8314 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 3 Oct 2010 15:49:44 +0000 Subject: (svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to alter industry production did not work for large industry windows. --- src/industry_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/industry_gui.cpp') 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: -- cgit v1.2.3-54-g00ecf