diff options
author | archshift <admin@archshift.com> | 2014-06-13 04:50:02 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:21 +0200 |
commit | 5b2b6e06150b6299d1e19374be092c0858b0e3a8 (patch) | |
tree | 0d8728e4ef91f35216924ba0fd8e13e9059d15f6 /src/Items/ItemPotion.h | |
parent | Cave spider now poisons its victim, added IsPawn function to Entity (diff) | |
download | cuberite-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/ItemPotion.h')
-rw-r--r-- | src/Items/ItemPotion.h | 2 |
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; |