(svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin

This commit is contained in:
belugas
2008-05-07 00:04:40 +00:00
parent 75a87a7266
commit fa8ab829e9
3 changed files with 3 additions and 18 deletions

View File

@@ -230,11 +230,6 @@ static void PlaceRoad_TruckStation(TileIndex tile)
}
}
static void PlaceRoad_DemolishArea(TileIndex tile)
{
VpStartPlaceSizing(tile, VPM_X_AND_Y, DDSP_DEMOLISH_AREA);
}
/** Enum referring to the widgets of the build road toolbar */
enum RoadToolbarWidgets {
RTW_CLOSEBOX = 0,
@@ -322,7 +317,7 @@ static void BuildRoadClick_AutoRoad(Window *w)
static void BuildRoadClick_Demolish(Window *w)
{
HandlePlacePushButton(w, RTW_DEMOLISH, ANIMCURSOR_DEMOLISH, VHM_RECT, PlaceRoad_DemolishArea);
HandlePlacePushButton(w, RTW_DEMOLISH, ANIMCURSOR_DEMOLISH, VHM_RECT, PlaceProc_DemolishArea);
}
static void BuildRoadClick_Depot(Window *w)