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 | a6a9968d16bb4af600e559e8fa1ed918fdb7827d (patch) | |
tree | 90be9332cafc06c8d6987997a1cd3abd742a1118 /src/train_cmd.cpp | |
parent | 97135f2b7e46e730bbac53572ec37b68d562ede2 (diff) | |
download | openttd-a6a9968d16bb4af600e559e8fa1ed918fdb7827d.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); } } |