summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-21 19:36:43 +0000
committertron <tron@openttd.org>2005-07-21 19:36:43 +0000
commite53c4db866021b07baace56f999be93920cd0f19 (patch)
tree29fd622967555974430109d40525b6a56175d6c2 /vehicle.h
parent284d9ed7fb9704f043220414efe0886aa2fa158e (diff)
downloadopenttd-e53c4db866021b07baace56f999be93920cd0f19.tar.xz
(svn r2664) Remove depedency on player.h from variables.h
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/vehicle.h b/vehicle.h
index 5e40d7772..f396ccd5a 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -435,9 +435,6 @@ static inline Vehicle *GetFirstVehicleFromSharedList(Vehicle *v)
return u;
}
-/* Validate functions for rail building */
-static inline bool ValParamRailtype(uint32 rail) { return HASBIT(GetPlayer(_current_player)->avail_railtypes, rail);}
-
// NOSAVE: Can be regenerated by inspecting the vehicles.
VARDEF VehicleID _vehicle_position_hash[0x1000];