(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
This commit is contained in:
@@ -142,7 +142,7 @@
|
||||
{
|
||||
if (!::IsValidTile(tile)) return SLOPE_INVALID;
|
||||
|
||||
return (Slope)::GetTilePixelSlope(tile, NULL);
|
||||
return (Slope)::GetTileSlope(tile);
|
||||
}
|
||||
|
||||
/* static */ AITile::Slope AITile::GetComplementSlope(Slope slope)
|
||||
|
Reference in New Issue
Block a user