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

This commit is contained in:
ModMaker101 2026-03-04 10:43:29 -05:00 committed by GitHub
parent ca5fde56fe
commit 2be856a2d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 14 deletions

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