summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-08-06 16:07:22 +0000
committerbjarni <bjarni@openttd.org>2005-08-06 16:07:22 +0000
commited8e2bac048a6c4ba73e226b7a8332759bab0697 (patch)
tree4628a0df8999b185f9edb643da5024f1ae22e3bc /vehicle.h
parentddb58492f300333751d4054e3555845ddc3df307 (diff)
downloadopenttd-ed8e2bac048a6c4ba73e226b7a8332759bab0697.tar.xz
(svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
-This means that one company can only have one setting for renew and replacing more clients will not fight due to different settings anymore -This is a needed step in the line to fix autoreplacing dualheaded locomotives NOTE: savegame revision bump (peter1138 + me in coop)
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index 1dd05e2c2..796315552 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -453,6 +453,7 @@ VARDEF byte _cmd_build_rail_veh_var1;
//VARDEF Vehicle *_vehicle_arr[8][4];
#define INVALID_VEHICLE 0xFFFF
+#define INVALID_ENGINE 0xFFFF
/* A lot of code calls for the invalidation of the status bar, which is widget 5.
* Best is to have a virtual value for it when it needs to change again */