From a6a9968d16bb4af600e559e8fa1ed918fdb7827d Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 29 Aug 2007 20:50:58 +0000 Subject: (svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus. --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/train_cmd.cpp') diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 3459844c7..59765bf40 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -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); } } -- cgit v1.2.3-70-g09d2