summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-08-29 20:50:58 +0000
committerrubidium <rubidium@openttd.org>2007-08-29 20:50:58 +0000
commita6a9968d16bb4af600e559e8fa1ed918fdb7827d (patch)
tree90be9332cafc06c8d6987997a1cd3abd742a1118 /src/train_cmd.cpp
parent97135f2b7e46e730bbac53572ec37b68d562ede2 (diff)
downloadopenttd-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.cpp2
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);
}
}