summaryrefslogtreecommitdiff
path: root/src/road_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
commit4d5b9e38d60a4199dc36a6d275ca8e31f1b7f97c (patch)
tree714f6bb8fc38d8b835bffc7a3eaa83e7e6e08e5a /src/road_gui.cpp
parentcbd09e4f5769ff22213fc96af609580bf0a9b71b (diff)
downloadopenttd-4d5b9e38d60a4199dc36a6d275ca8e31f1b7f97c.tar.xz
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index d61651442..00f96f7ad 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -571,7 +571,7 @@ static void BuildRoadToolbWndProc(Window *w, WindowEvent *e)
break;
case DDSP_DEMOLISH_AREA:
- GUIPlaceProcDragXY(e);
+ GUIPlaceProcDragXY(e->we.place.select_proc, e->we.place.starttile, e->we.place.tile);
break;
case DDSP_PLACE_ROAD_X_DIR: