diff options
author | tron <tron@openttd.org> | 2005-10-29 20:28:43 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-29 20:28:43 +0000 |
commit | 187ea08e1df48ba9c52d27f4d52235b588087478 (patch) | |
tree | 6030d4a2f635dcdaffa22188e6cf564a466db1d2 | |
parent | 9e957ff80bcd1e6be4239bd8355a355e5c892ded (diff) | |
download | openttd-187ea08e1df48ba9c52d27f4d52235b588087478.tar.xz |
(svn r3099) Copy&pasto in r3098
-rw-r--r-- | roadveh_gui.c | 2 | ||||
-rw-r--r-- | ship_gui.c | 2 | ||||
-rw-r--r-- | train_gui.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c index 0385e4efb..8a45d7ae7 100644 --- a/roadveh_gui.c +++ b/roadveh_gui.c @@ -226,7 +226,7 @@ static void ShowRoadVehDetailsWindow(const Vehicle* v) 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 --git a/ship_gui.c b/ship_gui.c index 90c12eab6..553af1a7d 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -315,7 +315,7 @@ void CcBuildShip(bool success, TileIndex tile, uint32 p1, uint32 p2) 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 --git a/train_gui.c b/train_gui.c index e8dec8bf5..be2e34c2d 100644 --- a/train_gui.c +++ b/train_gui.c @@ -164,7 +164,7 @@ void CcBuildLoco(bool success, TileIndex tile, uint32 p1, uint32 p2) 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); } |