File diff r2153:b45e3461c6c4 → r2154:83cf5a3d6634
vehicle.h
Show inline comments
 
@@ -432,15 +432,12 @@ static inline Vehicle *GetFirstVehicleFr
 
	while (u->prev_shared != NULL)
 
		u = u->prev_shared;
 

	
 
	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];
 

	
 
// NOSAVE: Return values from various commands.
 
VARDEF VehicleID _new_train_id;
 
VARDEF VehicleID _new_wagon_id;