File diff r18261:0aa61ca7490f → r18262:3bc00eb1e3da
src/vehicle.cpp
Show inline comments
 
@@ -415,7 +415,7 @@ bool HasVehicleOnPos(TileIndex tile, voi
 
 */
 
static Vehicle *EnsureNoVehicleProcZ(Vehicle *v, void *data)
 
{
 
	byte z = *(byte*)data;
 
	int z = *(int*)data;
 

	
 
	if (v->type == VEH_DISASTER || (v->type == VEH_AIRCRAFT && v->subtype == AIR_SHADOW)) return NULL;
 
	if (v->z_pos > z) return NULL;
 
@@ -430,7 +430,7 @@ static Vehicle *EnsureNoVehicleProcZ(Veh
 
 */
 
CommandCost EnsureNoVehicleOnGround(TileIndex tile)
 
{
 
	byte z = GetTileMaxPixelZ(tile);
 
	int z = GetTileMaxPixelZ(tile);
 

	
 
	/* Value v is not safe in MP games, however, it is used to generate a local
 
	 * error message only (which may be different for different machines).