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:
1 parent
8865194e47
commit
a006cc5aa0
48 files changed
+74
-68
No files matched your search
@@ -6,7 +6,7 @@
|
||||
#include "../Util/Facing.h"
|
||||
#include "../Util/AABB.h"
|
||||
|
||||
PistonMovingPiece::PistonMovingPiece(int id) : EntityTile(id, Material::piston, isSolidRender() )
|
||||
PistonMovingPiece::PistonMovingPiece(int id) : EntityTile(id, Material::piston, false )
|
||||
{
|
||||
setDestroyTime(INDESTRUCTIBLE_DESTROY_TIME);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user