equal
deleted
inserted
replaced
101 Group *g = AllocateGroup(); |
101 Group *g = AllocateGroup(); |
102 if (g == NULL) return CMD_ERROR; |
102 if (g == NULL) return CMD_ERROR; |
103 |
103 |
104 if (flags & DC_EXEC) { |
104 if (flags & DC_EXEC) { |
105 g->owner = _current_player; |
105 g->owner = _current_player; |
106 g->string_id = STR_SV_GROUP_NAME; |
106 g->string_id = STR_EMPTY; |
107 g->replace_protection = false; |
107 g->replace_protection = false; |
108 g->vehicle_type = vt; |
108 g->vehicle_type = vt; |
109 |
109 |
110 InvalidateWindowData(GetWCForVT(vt), (vt << 11) | VLW_GROUP_LIST | _current_player); |
110 InvalidateWindowData(GetWCForVT(vt), (vt << 11) | VLW_GROUP_LIST | _current_player); |
111 } |
111 } |