(svn r2024) -Fix: [autoreplace] reverted all changes involving v->set_for_replacement as they caused desyncs.

The bad sideeffect of this is that now no vehicle will automatically go to a depot anymore just 
because it is set to be autoreplaced. We will have to find a better way to solve this problem.

Revisions reverted: 1640, 1707, 1709, 1710, 1712(but not the cheat prevention in this one)
This commit is contained in:
bjarni
2005-03-19 21:16:22 +00:00
parent e12bb5504a
commit acb1fb2e30
6 changed files with 21 additions and 181 deletions

View File

@@ -184,8 +184,6 @@ struct Vehicle {
int32 profit_last_year;
uint32 value;
bool set_for_replacement; // marks this vehicle to be replaced
union {
VehicleRail rail;
VehicleAir air;