summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-20 11:56:59 +0200
committerarchshift <admin@archshift.com>2014-07-26 12:48:16 +0200
commit0298d34406b1582e882795bf4d9d3fea18fd0135 (patch)
tree764cf6c7089b3a80f5a4c457d6c44f963deb2a1f /src/WorldStorage/WSSAnvil.cpp
parentEndianness.h: undefined ntohll before redefining (diff)
downloadcuberite-0298d34406b1582e882795bf4d9d3fea18fd0135.tar
cuberite-0298d34406b1582e882795bf4d9d3fea18fd0135.tar.gz
cuberite-0298d34406b1582e882795bf4d9d3fea18fd0135.tar.bz2
cuberite-0298d34406b1582e882795bf4d9d3fea18fd0135.tar.lz
cuberite-0298d34406b1582e882795bf4d9d3fea18fd0135.tar.xz
cuberite-0298d34406b1582e882795bf4d9d3fea18fd0135.tar.zst
cuberite-0298d34406b1582e882795bf4d9d3fea18fd0135.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index 2851647fe..023813769 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -1670,7 +1670,7 @@ void cWSSAnvil::LoadArrowFromNBT(cEntityList & a_Entities, const cParsedNBT & a_
void cWSSAnvil::LoadSplashPotionFromNBT(cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx)
{
- std::auto_ptr<cSplashPotionEntity> SplashPotion(new cSplashPotionEntity(NULL, 0, 0, 0, Vector3d(0, 0, 0), cEntityEffect::effNoEffect, cEntityEffect(), 0));
+ std::auto_ptr<cSplashPotionEntity> SplashPotion(new cSplashPotionEntity(NULL, 0, 0, 0, Vector3d(0, 0, 0), cItem()));
if (!LoadProjectileBaseFromNBT(*SplashPotion.get(), a_NBT, a_TagIdx))
{
return;