File diff r27055:8db4d6833ae7 → r27056:ac04ccbeb86c
src/water_cmd.cpp
Show inline comments
 
@@ -933,13 +933,13 @@ void DrawShipDepotSprite(int x, int y, A
 

	
 
	DrawSprite(dts.ground.sprite, dts.ground.pal, x, y);
 
	DrawOrigTileSeqInGUI(x, y, &dts, COMPANY_SPRITE_COLOUR(_local_company));
 
}
 

	
 

	
 
static int GetSlopePixelZ_Water(TileIndex tile, uint x, uint y)
 
static int GetSlopePixelZ_Water(TileIndex tile, uint x, uint y, bool ground_vehicle)
 
{
 
	int z;
 
	Slope tileh = GetTilePixelSlope(tile, &z);
 

	
 
	return z + GetPartialPixelZ(x & 0xF, y & 0xF, tileh);
 
}