mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r3099) Copy&pasto in r3098
This commit is contained in:
parent
9e957ff80b
commit
187ea08e1d
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user