mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-26 08:25:34 +00:00
uninitialized vptr
the vptr to isSolidRender() is not known before contruction of the Tile. Its true by default. if false, need to pass false. that is what i did. i verfied what isSolidRender() is in every file. and did exactly what isSolidRender() would return
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "LadderTile.h"
|
||||
|
||||
|
||||
LadderTile::LadderTile(int id) : Tile(id, Material::decoration,isSolidRender())
|
||||
LadderTile::LadderTile(int id) : Tile(id, Material::decoration, false)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -109,4 +109,4 @@ void LadderTile::neighborChanged(Level *level, int x, int y, int z, int type)
|
||||
int LadderTile::getResourceCount(Random* random)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user