1
0

Renamed cBlockArea Offset to WEOffset.

Even in getters / setters.
This commit is contained in:
madmaxoft
2014-03-12 07:46:14 +01:00
parent 3e9f265a36
commit 950614da7e
3 changed files with 9 additions and 8 deletions

View File

@@ -189,11 +189,11 @@ bool cSchematicFileSerializer::LoadFromSchematicNBT(cBlockArea & a_BlockArea, cP
)
{
// Not every schematic file has an offset, so we shoudn't give a warn message.
a_BlockArea.SetOffset(0, 0, 0);
a_BlockArea.SetWEOffset(0, 0, 0);
}
else
{
a_BlockArea.SetOffset(a_NBT.GetInt(TOffsetX), a_NBT.GetInt(TOffsetY), a_NBT.GetInt(TOffsetZ));
a_BlockArea.SetWEOffset(a_NBT.GetInt(TOffsetX), a_NBT.GetInt(TOffsetY), a_NBT.GetInt(TOffsetZ));
}
// Copy the block types and metas: