From 87dba11ca10faa2a41369893fafa4b23eb89e4b9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 20 Jul 2009 13:16:15 +0000 Subject: (svn r16887) -Fix (r16884): erroneous semicolon. --- src/group_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-54-g00ecf