summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-13 04:50:02 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:21 +0200
commit5b2b6e06150b6299d1e19374be092c0858b0e3a8 (patch)
tree0d8728e4ef91f35216924ba0fd8e13e9059d15f6 /src/Items
parentCave spider now poisons its victim, added IsPawn function to Entity (diff)
downloadcuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.gz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.bz2
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.lz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.xz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.zst
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.zip
Diffstat (limited to 'src/Items')
-rw-r--r--src/Items/ItemPotion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemPotion.h b/src/Items/ItemPotion.h
index 40748d71c..2c5760e34 100644
--- a/src/Items/ItemPotion.h
+++ b/src/Items/ItemPotion.h
@@ -128,7 +128,7 @@ public:
{
return false;
}
- if (!Projectile->Initialize(*a_World))
+ if (!Projectile->Initialize(a_World))
{
delete Projectile;
return false;