1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00

Rename kNumOrthogonalDirections constant

This commit is contained in:
Aaron van Geffen
2024-07-01 17:29:08 +02:00
parent b30acc6ae9
commit 15ee05dfb0
52 changed files with 162 additions and 162 deletions

View File

@@ -791,7 +791,7 @@ int32_t MapHeightFromSlope(const CoordsXY& coords, int32_t slopeDirection, bool
if (!isSloped)
return 0;
switch (slopeDirection % NumOrthogonalDirections)
switch (slopeDirection % kNumOrthogonalDirections)
{
case TILE_ELEMENT_DIRECTION_WEST:
return (31 - (coords.x & 31)) / 2;