summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r--src/group_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
index 7075d94c5..cead1066e 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -388,7 +388,7 @@ public:
SetDParam(1, owner);
SetDParam(2, this->vehicles.Length());
- this->widget[GRP_WIDGET_REPLACE_PROTECTION].data = SPR_GROUP_REPLACE_OFF_TRAIN; + this->vehicle_type;
+ this->widget[GRP_WIDGET_REPLACE_PROTECTION].data = SPR_GROUP_REPLACE_OFF_TRAIN + this->vehicle_type;
} else {
const Group *g = Group::Get(this->group_sel);