summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2017-09-07 10:25:34 +0200
committerMattes D <github@xoft.cz>2017-09-07 10:25:34 +0200
commit104f9e127b259731836c2b88d74a8d731f3ad535 (patch)
tree0aa333690caf9480f38e2ec1a88265b84544aeb5 /src/WorldStorage/WSSAnvil.cpp
parentAdd cWorld::RemoveEntity and use in cEntity (#4003) (diff)
downloadcuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.gz
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.bz2
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.lz
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.xz
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.zst
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.zip
Diffstat (limited to '')
-rwxr-xr-xsrc/WorldStorage/WSSAnvil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index a3251481f..8f4d41598 100755
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -1661,7 +1661,7 @@ void cWSSAnvil::LoadOldMinecartFromNBT(cEntityList & a_Entities, const cParsedNB
void cWSSAnvil::LoadBoatFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx)
{
- std::unique_ptr<cBoat> Boat = cpp14::make_unique<cBoat>(0, 0, 0, cBoat::bmOak);
+ std::unique_ptr<cBoat> Boat = cpp14::make_unique<cBoat>(Vector3d(), cBoat::bmOak);
if (!LoadEntityBaseFromNBT(*Boat.get(), a_NBT, a_TagIdx))
{
return;
@@ -1851,7 +1851,7 @@ void cWSSAnvil::LoadPickupFromNBT(cEntityList & a_Entities, const cParsedNBT & a
void cWSSAnvil::LoadTNTFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx)
{
- std::unique_ptr<cTNTEntity> TNT = cpp14::make_unique<cTNTEntity>(0.0, 0.0, 0.0, 0);
+ std::unique_ptr<cTNTEntity> TNT = cpp14::make_unique<cTNTEntity>(Vector3d(), 0);
if (!LoadEntityBaseFromNBT(*TNT.get(), a_NBT, a_TagIdx))
{
return;