(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.

This commit is contained in:
rubidium
2008-05-18 12:40:38 +00:00
parent a426047441
commit fc4393dcfe
9 changed files with 19 additions and 20 deletions

View File

@@ -162,7 +162,7 @@ static void BuildDocksToolbWndProc(Window *w, WindowEvent *e)
if (e->we.place.pt.x != -1) {
switch (e->we.place.select_proc) {
case DDSP_DEMOLISH_AREA:
GUIPlaceProcDragXY(e);
GUIPlaceProcDragXY(e->we.place.select_proc, e->we.place.starttile, e->we.place.tile);
break;
case DDSP_CREATE_WATER:
DoCommandP(e->we.place.tile, e->we.place.starttile, 0, CcBuildCanal, CMD_BUILD_CANAL | CMD_MSG(STR_CANT_BUILD_CANALS));