mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-11 19:30:56 +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 "../Headers/net.minecraft.world.h"
|
||||
#include "HalfTransparentTile.h"
|
||||
|
||||
HalfTransparentTile::HalfTransparentTile(int id, const std::wstring &tex, Material *material, bool allowSame) : Tile(id,material,isSolidRender())
|
||||
HalfTransparentTile::HalfTransparentTile(int id, const std::wstring &tex, Material *material, bool allowSame) : Tile(id,material, false)
|
||||
{
|
||||
this->allowSame = allowSame;
|
||||
this->texture = tex;
|
||||
@@ -29,4 +29,4 @@ bool HalfTransparentTile::blocksLight()
|
||||
void HalfTransparentTile::registerIcons(IconRegister *iconRegister)
|
||||
{
|
||||
icon = iconRegister->registerIcon(texture);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user