summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-12-08 01:20:47 +0000
committerbelugas <belugas@openttd.org>2007-12-08 01:20:47 +0000
commit8c89641dbe11528b8a3724a3a2061c3c04e11ce4 (patch)
treefa5bb81db42708ef19334b597f9946c859de2ebc /src/industry_gui.cpp
parent6fb71047d65391ef6f44957f65e7cc08f13b18b6 (diff)
downloadopenttd-8c89641dbe11528b8a3724a3a2061c3c04e11ce4.tar.xz
(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 9593a593b..67356a802 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -248,7 +248,7 @@ static void BuildDynamicIndustryWndProc(Window *w, WindowEvent *e)
if ((_game_mode != GM_EDITOR && _patches.raw_industry_construction == 2 && indsp != NULL && indsp->IsRawIndustry()) ||
WP(w, fnd_d).select == INVALID_INDUSTRYTYPE) {
/* Reset the button state if going to prospecting or "build many industries" */
- RaiseWindowButtons(w);
+ w->RaiseButtons();
ResetObjectToPlace();
}
}
@@ -337,7 +337,7 @@ static void BuildDynamicIndustryWndProc(Window *w, WindowEvent *e)
case WE_TIMEOUT:
case WE_ABORT_PLACE_OBJ:
- RaiseWindowButtons(w);
+ w->RaiseButtons();
break;
}
}