summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-26 16:47:11 +0200
committerMattes D <github@xoft.cz>2014-07-26 16:47:11 +0200
commit56f417494390ade84dd64167b1d62d28068b790c (patch)
tree7db4a59db1874bf9250e8c2c9bf3271e5a5ae67c /src/WorldStorage
parentMerge pull request #1207 from Howaner/Inventory (diff)
parentSplashPotionEntity: Use `const cItem &` instead of a cItem (diff)
downloadcuberite-56f417494390ade84dd64167b1d62d28068b790c.tar
cuberite-56f417494390ade84dd64167b1d62d28068b790c.tar.gz
cuberite-56f417494390ade84dd64167b1d62d28068b790c.tar.bz2
cuberite-56f417494390ade84dd64167b1d62d28068b790c.tar.lz
cuberite-56f417494390ade84dd64167b1d62d28068b790c.tar.xz
cuberite-56f417494390ade84dd64167b1d62d28068b790c.tar.zst
cuberite-56f417494390ade84dd64167b1d62d28068b790c.zip
Diffstat (limited to 'src/WorldStorage')
-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;