mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-17 04:11:55 +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:
@@ -5,7 +5,7 @@
|
||||
#include "TileEntities/SignTileEntity.h"
|
||||
#include "SignTile.h"
|
||||
|
||||
SignTile::SignTile(int id, eINSTANCEOF clas, bool onGround) : EntityTile(id, Material::wood, isSolidRender())
|
||||
SignTile::SignTile(int id, eINSTANCEOF clas, bool onGround) : EntityTile(id, Material::wood, false)
|
||||
{
|
||||
this->onGround = onGround;
|
||||
this->clas = clas;
|
||||
@@ -126,4 +126,4 @@ int SignTile::cloneTileId(Level *level, int x, int y, int z)
|
||||
void SignTile::registerIcons(IconRegister *iconRegister)
|
||||
{
|
||||
// None
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user