diff options
author | frosch <frosch@openttd.org> | 2011-11-20 14:39:12 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-11-20 14:39:12 +0000 |
commit | 107f67bfa46daf47916c761b755202ff1e578cba (patch) | |
tree | 68db25db0f9dfa217d4d2bee2898a2e9f0c22d3c /src/group_gui.cpp | |
parent | 7f390964c3202212a696302d774256a950b621d9 (diff) | |
download | openttd-107f67bfa46daf47916c761b755202ff1e578cba.tar.xz |
(svn r23282) -Fix [FS#4844] (r23212): CmdRemoveAllVehiclesGroup() was not passed the vehicle type in all cases, but the type is actually not needed.
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 3740bcb56..2070a0c2e 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -711,7 +711,7 @@ public: case ADI_REMOVE_ALL: // Remove all Vehicles from the selected group assert(Group::IsValidID(this->vli.index)); - DoCommandP(0, this->vli.index, this->vli.vtype, CMD_REMOVE_ALL_VEHICLES_GROUP | CMD_MSG(STR_ERROR_GROUP_CAN_T_REMOVE_ALL_VEHICLES)); + DoCommandP(0, this->vli.index, 0, CMD_REMOVE_ALL_VEHICLES_GROUP | CMD_MSG(STR_ERROR_GROUP_CAN_T_REMOVE_ALL_VEHICLES)); break; default: NOT_REACHED(); } |