mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-21 15:15:35 +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:
@@ -9,7 +9,7 @@
|
||||
const double DiodeTile::DELAY_RENDER_OFFSETS[4] = { -1.0f / 16.0f, 1.0f / 16.0f, 3.0f / 16.0f, 5.0f / 16.0f };
|
||||
const int DiodeTile::DELAYS[4] = { 1, 2, 3, 4 };
|
||||
|
||||
DiodeTile::DiodeTile(int id, bool on) : DirectionalTile(id, Material::decoration,isSolidRender())
|
||||
DiodeTile::DiodeTile(int id, bool on) : DirectionalTile(id, Material::decoration, false)
|
||||
{
|
||||
this->on = on;
|
||||
updateDefaultShape();
|
||||
|
||||
Reference in New Issue
Block a user