(svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases.
--- a/src/group_cmd.cpp Sat May 19 20:15:50 2007 +0000
+++ b/src/group_cmd.cpp Sat May 19 21:47:14 2007 +0000
@@ -181,7 +181,7 @@
{
GroupID new_g = p1;
- if (!IsValidVehicleID(p2) || !IsValidGroupID(new_g)) return CMD_ERROR;
+ if (!IsValidVehicleID(p2) || (!IsValidGroupID(new_g) && !IsDefaultGroupID(new_g))) return CMD_ERROR;
Vehicle *v = GetVehicle(p2);
if (v->owner != _current_player || (v->type == VEH_TRAIN && !IsFrontEngine(v))) return CMD_ERROR;