summaryrefslogtreecommitdiff
path: root/src/airport_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-18 12:40:38 +0000
committerrubidium <rubidium@openttd.org>2008-05-18 12:40:38 +0000
commitfc4393dcfee86962549736b429f69cc551ea1ab3 (patch)
tree714f6bb8fc38d8b835bffc7a3eaa83e7e6e08e5a /src/airport_gui.cpp
parenta4260474410a86019f2ab80a329141afd7db79ce (diff)
downloadopenttd-fc4393dcfee86962549736b429f69cc551ea1ab3.tar.xz
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r--src/airport_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index 7333f8051..f887fb25a 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -95,7 +95,7 @@ static void BuildAirToolbWndProc(Window *w, WindowEvent *e)
case WE_PLACE_MOUSEUP:
if (e->we.place.pt.x != -1 && e->we.place.select_proc == DDSP_DEMOLISH_AREA) {
- GUIPlaceProcDragXY(e);
+ GUIPlaceProcDragXY(e->we.place.select_proc, e->we.place.starttile, e->we.place.tile);
}
break;