# HG changeset patch # User tron # Date 1130617723 0 # Node ID 9397cf08c27351103fdecad4cbd0923e5d2e5597 # Parent c78c3d248897e234e71065ebb40b09d67f15760c (svn r3099) Copy&pasto in r3098 diff -r c78c3d248897 -r 9397cf08c273 roadveh_gui.c --- a/roadveh_gui.c Fri Oct 28 20:04:54 2005 +0000 +++ b/roadveh_gui.c Sat Oct 29 20:28:43 2005 +0000 @@ -226,7 +226,7 @@ void CcCloneRoadVeh(bool success, uint tile, uint32 p1, uint32 p2) { if (success) { - const Vehicle* v = GetVehicle(_new_aircraft_id); + const Vehicle* v = GetVehicle(_new_roadveh_id); ShowRoadVehViewWindow(v); } diff -r c78c3d248897 -r 9397cf08c273 ship_gui.c --- a/ship_gui.c Fri Oct 28 20:04:54 2005 +0000 +++ b/ship_gui.c Sat Oct 29 20:28:43 2005 +0000 @@ -315,7 +315,7 @@ void CcCloneShip(bool success, uint tile, uint32 p1, uint32 p2) { if (success) { - const Vehicle* v = GetVehicle(_new_aircraft_id); + const Vehicle* v = GetVehicle(_new_ship_id); ShowShipViewWindow(v); } diff -r c78c3d248897 -r 9397cf08c273 train_gui.c --- a/train_gui.c Fri Oct 28 20:04:54 2005 +0000 +++ b/train_gui.c Sat Oct 29 20:28:43 2005 +0000 @@ -164,7 +164,7 @@ void CcCloneTrain(bool success, uint tile, uint32 p1, uint32 p2) { if (success) { - const Vehicle* v = GetVehicle(_new_aircraft_id); + const Vehicle* v = GetVehicle(_new_train_id); ShowTrainViewWindow(v); }