(svn r10656) -Fix [FS#1068]: GetPartialZ returned wrong value for SLOPE_STEEP_E (frosch)

This commit is contained in:
truelight 2007-07-23 15:18:53 +00:00
parent c4e47c07c9
commit 3ce600a644
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ uint GetPartialZ(int x, int y, Slope corners)
break;
case SLOPE_STEEP_E:
z = 1 + (((x ^ 0xF) + (y ^ 0xF)) >> 1);
z = 1 + (((x ^ 0xF) + y) >> 1);
break;
default: break;