From abb17d64a106a66f30f84bc20ce69d0f35b5fcc6 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 7 Feb 2009 13:53:38 +0000 Subject: (svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly --- src/economy.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/economy.cpp b/src/economy.cpp index 4c5fe53cd..efb66ff8e 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -360,7 +360,6 @@ void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner) } else { v->owner = new_owner; v->colormap = PAL_NONE; - v->group_id = DEFAULT_GROUP; if (IsEngineCountable(v)) GetCompany(new_owner)->num_engines[v->engine_type]++; if (v->IsPrimaryVehicle()) v->unitnumber = unitidgen[v->type].NextID(); } -- cgit v1.2.3-70-g09d2