diff options
author | rubidium <rubidium@openttd.org> | 2007-08-29 20:50:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-29 20:50:58 +0000 |
commit | 5d628e6135267c2f72af07fab15cbdadfca41d91 (patch) | |
tree | 90be9332cafc06c8d6987997a1cd3abd742a1118 /src/train_cmd.cpp | |
parent | e10361a0eb0e84554a6d519af5b2c1206cbbf242 (diff) | |
download | openttd-5d628e6135267c2f72af07fab15cbdadfca41d91.tar.xz |
(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |