(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow().

This commit is contained in:
frosch
2008-01-17 17:35:59 +00:00
parent c579bffed2
commit 35f3421842
3 changed files with 1 additions and 34 deletions

View File

@@ -1125,7 +1125,7 @@ void PlayerVehWndProc(Window *w, WindowEvent *e)
switch (e->we.dropdown.index) {
case 0: /* Replace window */
ShowReplaceVehicleWindow(vl->vehicle_type);
ShowReplaceGroupVehicleWindow(DEFAULT_GROUP, vl->vehicle_type);
break;
case 1: /* Send for servicing */
DoCommandP(0, GB(w->window_number, 16, 16) /* StationID or OrderID (depending on VLW) */,