mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-01 08:06:28 +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:
@@ -6,7 +6,7 @@
|
||||
#include "ButtonTile.h"
|
||||
#include "../Util/SoundTypes.h"
|
||||
|
||||
ButtonTile::ButtonTile(int id, bool sensitive) : Tile(id, Material::decoration,isSolidRender())
|
||||
ButtonTile::ButtonTile(int id, bool sensitive) : Tile(id, Material::decoration, false)
|
||||
{
|
||||
this->setTicking(true);
|
||||
this->sensitive = sensitive;
|
||||
|
||||
Reference in New Issue
Block a user