File diff r2951:a52cbb930051 → r2952:e97f823d2dbe
landscape.c
Show inline comments
 
@@ -75,25 +75,25 @@ void FindLandscapeHeight(TileInfo *ti, u
 
		ti->map5 = 0;
 
		ti->z = 0;
 
		return;
 
	}
 

	
 
	FindLandscapeHeightByTile(ti, TileVirtXY(x, y));
 
}
 

	
 
uint GetPartialZ(int x, int y, int corners)
 
{
 
	int z = 0;
 

	
 
	switch(corners) {
 
	switch (corners) {
 
	case 1:
 
		if (x - y >= 0)
 
			z = (x - y) >> 1;
 
		break;
 

	
 
	case 2:
 
		y^=0xF;
 
		if ( (x - y) >= 0)
 
			z = (x - y) >> 1;
 
		break;
 

	
 
	case 3: