forked from cafeberry/cafeberry
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:
@@ -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 ); }
|
||||
|
||||
Reference in New Issue
Block a user