From abb17d64a106a66f30f84bc20ce69d0f35b5fcc6 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 7 Feb 2009 13:53:38 +0000 Subject: [PATCH] (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(-) diff --git a/src/economy.cpp b/src/economy.cpp index 4c5fe53cdb..efb66ff8e7 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(); }