Fix Chunk destructor segfault using smart pointers #112 (#414)

This commit is contained in:
ModMaker101
2026-03-04 22:43:29 +07:00
committed by GitHub
parent ca5fde56fe
commit 2be856a2d4
2 changed files with 12 additions and 14 deletions
+3 -3
View File
@@ -46,11 +46,11 @@ public:
int xRender, yRender, zRender;
int xRenderOffs, yRenderOffs, zRenderOffs;
int xm, ym, zm;
AABB *bb;
int xm, ym, zm;
shared_ptr<AABB> bb;
ClipChunk *clipChunk;
int id;
int id;
//public:
// vector<shared_ptr<TileEntity> > renderableTileEntities; // 4J - removed