fix: PS3 ChunkUpdate crash during loading.

fixed by increasing the pading to make the size of ChunkRebuildData divisible by 16.
This commit is contained in:
2026-07-12 11:07:50 +03:00
parent 090de7517b
commit 44a40fc92b
14 changed files with 14 additions and 1 deletions
@@ -59,7 +59,7 @@ public:
int m_lastHitBlockX;
int m_lastHitBlockY;
int m_lastHitBlockZ;
unsigned int m_pad[3];// padding to 16 byte alignment
unsigned int m_pad[5];// padding to 16 byte alignment
int getTileIdx(int x, int y, int z) { return (( x - m_x0 )*sc_size*sc_size) + (( y - m_y0 )*sc_size) + ( z - m_z0 ); }