summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-12-24 15:08:19 +0000
committeralberth <alberth@openttd.org>2010-12-24 15:08:19 +0000
commit852e647bcc892e3cf65990968b9ad200e83af435 (patch)
tree7d2f7591d2ffc3fecd614630c9ba733d6d828959 /src/industry_gui.cpp
parent9a5cce382fb56ea91f95a56bc7b83b0ccbb69e1b (diff)
downloadopenttd-852e647bcc892e3cf65990968b9ad200e83af435.tar.xz
(svn r21627) -Codechange: Remove _place_proc global variable.
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 6bf3932c1..37c9841d0 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -517,7 +517,7 @@ public:
DoCommandP(0, this->selected_type, InteractiveRandom(), CMD_BUILD_INDUSTRY | CMD_MSG(STR_ERROR_CAN_T_CONSTRUCT_THIS_INDUSTRY));
this->HandleButtonClick(DPIW_FUND_WIDGET);
} else {
- HandlePlacePushButton(this, DPIW_FUND_WIDGET, SPR_CURSOR_INDUSTRY, HT_RECT, NULL);
+ HandlePlacePushButton(this, DPIW_FUND_WIDGET, SPR_CURSOR_INDUSTRY, HT_RECT);
}
break;
}