Mercurial > hg > openttd
changeset 11056:399e5cb92660 draft
(svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly
author | smatz <smatz@openttd.org> |
---|---|
date | Sat, 07 Feb 2009 13:53:38 +0000 |
parents | 4c8d23865b6d |
children | a56076ea98c6 |
files | src/economy.cpp |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/economy.cpp +++ b/src/economy.cpp @@ -360,7 +360,6 @@ } 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(); }