diff options
author | alberth <alberth@openttd.org> | 2010-12-24 15:08:19 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-12-24 15:08:19 +0000 |
commit | 852e647bcc892e3cf65990968b9ad200e83af435 (patch) | |
tree | 7d2f7591d2ffc3fecd614630c9ba733d6d828959 /src/airport_gui.cpp | |
parent | 9a5cce382fb56ea91f95a56bc7b83b0ccbb69e1b (diff) | |
download | openttd-852e647bcc892e3cf65990968b9ad200e83af435.tar.xz |
(svn r21627) -Codechange: Remove _place_proc global variable.
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r-- | src/airport_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index 5d982b04c..57a843496 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -89,14 +89,14 @@ struct BuildAirToolbarWindow : Window { { switch (widget) { case ATW_AIRPORT: - if (HandlePlacePushButton(this, ATW_AIRPORT, SPR_CURSOR_AIRPORT, HT_RECT, NULL)) { + if (HandlePlacePushButton(this, ATW_AIRPORT, SPR_CURSOR_AIRPORT, HT_RECT)) { ShowBuildAirportPicker(this); this->last_user_action = widget; } break; case ATW_DEMOLISH: - HandlePlacePushButton(this, ATW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL, NULL); + HandlePlacePushButton(this, ATW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL); this->last_user_action = widget; break; |