From a84e6b015d2715daa872f11f1f3893ce06e9f458 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 13 Jun 2007 18:36:04 +0000 Subject: (svn r10147) -Fix: the oldloader did clear some bits for road vehicles that shouldn't be cleared in some cases. --- src/oldloader.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/oldloader.cpp b/src/oldloader.cpp index fbc601bad..87e4520d5 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -330,7 +330,11 @@ static void FixOldVehicles() Vehicle *u; /* We haven't used this bit for stations for ages */ - if (v->type == VEH_ROAD) CLRBIT(v->u.road.state, RVS_IS_STOPPING); + if (v->type == VEH_ROAD && + v->u.road.state != RVSB_IN_DEPOT && + v->u.road.state != RVSB_WORMHOLE) { + CLRBIT(v->u.road.state, RVS_IS_STOPPING); + } FOR_ALL_VEHICLES_FROM(u, v->index + 1) { /* If a vehicle has the same orders, add the link to eachother -- cgit v1.2.3-70-g09d2