summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-03-19 21:16:22 +0000
committerbjarni <bjarni@openttd.org>2005-03-19 21:16:22 +0000
commitacb1fb2e308d427476638e74038341cb0779ed25 (patch)
tree7911fda71787d3d2262a160f0a0c7f4ab025d80e /vehicle.h
parente12bb5504a1924617f99ed32310c30ae8e085354 (diff)
downloadopenttd-acb1fb2e308d427476638e74038341cb0779ed25.tar.xz
(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)
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/vehicle.h b/vehicle.h
index f0a8abf6c..d7c3aafac 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -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;