summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2012-07-10 17:35:10 +0000
committeralberth <alberth@openttd.org>2012-07-10 17:35:10 +0000
commita9b1a36656c892b932c75ea154c09144e549d474 (patch)
treeb86c5b11f7011423345fb6ef4df8235a9dedb642 /src
parent6c2e2011334f45ad6735efee28fb4c49d1aa5594 (diff)
downloadopenttd-a9b1a36656c892b932c75ea154c09144e549d474.tar.xz
(svn r24392) -Fix [FS#5239]: Use the 'all vehicles' group for the autoreplace window from the vehicle list.
Diffstat (limited to 'src')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index d307468e9..be36c0169 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -1544,7 +1544,7 @@ public:
switch (index) {
case ADI_REPLACE: // Replace window
- ShowReplaceGroupVehicleWindow(DEFAULT_GROUP, this->vli.vtype);
+ ShowReplaceGroupVehicleWindow(ALL_GROUP, this->vli.vtype);
break;
case ADI_SERVICE: // Send for servicing
case ADI_DEPOT: // Send to Depots