File diff r18263:aa73b8f4886f → r18264:ebfd7683aeb7
src/vehicle.cpp
Show inline comments
 
@@ -405,13 +405,13 @@ void FindVehicleOnPos(TileIndex tile, vo
 
bool HasVehicleOnPos(TileIndex tile, void *data, VehicleFromPosProc *proc)
 
{
 
	return VehicleFromPos(tile, data, proc, true) != NULL;
 
}
 

	
 
/**
 
 * Callback that returns 'real' vehicles lower or at height \c *(byte*)data .
 
 * Callback that returns 'real' vehicles lower or at height \c *(int*)data .
 
 * @param v Vehicle to examine.
 
 * @param data Pointer to height data.
 
 * @return \a v if conditions are met, else \c NULL.
 
 */
 
static Vehicle *EnsureNoVehicleProcZ(Vehicle *v, void *data)
 
{