03-11-2013, 05:42 AM
Put a breakpoint in the cChunk::UnboundRelGetBlock() function and find out who's calling it with such a wild value.
in c++:
ChunkX = BlockX >> 4;
ChunkZ = BlockZ >> 4;
Dunno if Lua has the same bit-wise shift operator. We should definitely export some helper function for that
in c++:
ChunkX = BlockX >> 4;
ChunkZ = BlockZ >> 4;
Dunno if Lua has the same bit-wise shift operator. We should definitely export some helper function for that