diff options
Diffstat (limited to 'Minecraft.World/CompressedTileStorage.cpp')
| -rw-r--r-- | Minecraft.World/CompressedTileStorage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/CompressedTileStorage.cpp b/Minecraft.World/CompressedTileStorage.cpp index 1c387eeb..b093f804 100644 --- a/Minecraft.World/CompressedTileStorage.cpp +++ b/Minecraft.World/CompressedTileStorage.cpp @@ -1311,7 +1311,7 @@ int CompressedTileStorage::getHighestNonEmptyY() // Multiply by the number of vertical tiles in a block, and then add that again to be at the top of the block highestNonEmptyY = (highestYBlock * 4) + 4; } - else + else if( allocatedSize != 1024 ) { app.DebugPrintf("[CTS-WARN] getHighestNonEmptyY() returned -1! allocatedSize=%d indicesAndData=%p\n", allocatedSize, indicesAndData); @@ -1380,4 +1380,4 @@ void CompressedTileStorage::reverseIndices(unsigned char *indices) { System::ReverseUSHORT(&blockIndices[i]); } -}
\ No newline at end of file +} |
