(svn r3099) Copy&pasto in r3098

This commit is contained in:
tron 2005-10-29 20:28:43 +00:00
parent 9e957ff80b
commit 187ea08e1d
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}