* Change long to TLong.

This allows a potential linux port to become reality much easier.
This commit is contained in:
iProgramInCpp
2023-07-31 21:08:31 +03:00
parent 47f9b45ac4
commit 5884302836
24 changed files with 82 additions and 48 deletions

View File

@@ -40,7 +40,7 @@ int LiquidTileDynamic::getSlopeDistance(Level* level, int x, int y, int z, int d
for (int i = 0; i < 4; i++)
{
if (i == 0 && a7 == 1 || i == 1 && a7 == 0 || i == 2 && a7 == 3 || i == 3 && a7 == 2)
if ((i == 0 && a7 == 1) || (i == 1 && a7 == 0) || (i == 2 && a7 == 3) || (i == 3 && a7 == 2))
continue;
int checkX = x, checkY = y, checkZ = z;