man this tutorial level is really screwed up
todo??: - fix the id system [days since the universe was created is NOT a valid id] - fix literally everything else although thats probably caused by the discrepancy above
This commit is contained in:
@@ -299,9 +299,11 @@ void HangingEntity::readAdditionalSaveData(CompoundTag *tag)
|
||||
break;
|
||||
}
|
||||
}
|
||||
xTile = tag->getInt(L"TileX");
|
||||
yTile = tag->getInt(L"TileY");
|
||||
zTile = tag->getInt(L"TileZ");
|
||||
|
||||
xTile = static_cast<int>(floor(x + 0.5f));
|
||||
yTile = static_cast<int>(floor(y + 0.5f));
|
||||
zTile = static_cast<int>(floor(z + 0.5f));
|
||||
|
||||
setDir(dir);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user