(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.

This commit is contained in:
rubidium
2007-08-29 20:50:58 +00:00
parent e10361a0eb
commit 5d628e6135
13 changed files with 566 additions and 746 deletions

View File

@@ -1299,7 +1299,7 @@ CommandCost CmdSellRailWagon(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
first->next_shared = NULL;
/* If we deleted a window then open a new one for the 'new' train */
if (IsLocalPlayer() && w != NULL) ShowTrainViewWindow(new_f);
if (IsLocalPlayer() && w != NULL) ShowVehicleViewWindow(new_f);
}
}