(svn r23106) -Codechange: pass int* to GetTileSlope and friends
This commit is contained in:
@@ -170,7 +170,7 @@
|
||||
{
|
||||
if (!::IsValidTile(tile) || !::IsValidCorner((::Corner)corner)) return -1;
|
||||
|
||||
uint z;
|
||||
int z;
|
||||
::Slope slope = ::GetTileSlope(tile, &z);
|
||||
return (z + ::GetSlopeZInCorner(slope, (::Corner)corner));
|
||||
}
|
||||
|
Reference in New Issue
Block a user