summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemBow.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-08-21 22:25:03 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-24 11:17:51 +0200
commit0854ed01a45810c1ecb158620960916fcb9269b7 (patch)
treeca8989455325e10becbc5892294f3ba2f0090b0b /src/Items/ItemBow.h
parentRemoved outdated pathfinder comment (#3955) (diff)
downloadcuberite-0854ed01a45810c1ecb158620960916fcb9269b7.tar
cuberite-0854ed01a45810c1ecb158620960916fcb9269b7.tar.gz
cuberite-0854ed01a45810c1ecb158620960916fcb9269b7.tar.bz2
cuberite-0854ed01a45810c1ecb158620960916fcb9269b7.tar.lz
cuberite-0854ed01a45810c1ecb158620960916fcb9269b7.tar.xz
cuberite-0854ed01a45810c1ecb158620960916fcb9269b7.tar.zst
cuberite-0854ed01a45810c1ecb158620960916fcb9269b7.zip
Diffstat (limited to 'src/Items/ItemBow.h')
-rw-r--r--src/Items/ItemBow.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Items/ItemBow.h b/src/Items/ItemBow.h
index 7cbd1dc70..67ea9f16f 100644
--- a/src/Items/ItemBow.h
+++ b/src/Items/ItemBow.h
@@ -1,4 +1,4 @@
-
+
// ItemBow.h
// Declares the cItemBowHandler class representing the itemhandler for bows
@@ -91,16 +91,15 @@ public:
}
else
{
- Arrow->SetPickupState(cArrowEntity::psNoPickup);
+ ArrowPtr->SetPickupState(cArrowEntity::psNoPickup);
}
-
a_Player->UseEquippedItem();
}
if (a_Player->GetEquippedItem().m_Enchantments.GetLevel(cEnchantments::enchFlame) > 0)
{
- Arrow->StartBurning(100);
+ ArrowPtr->StartBurning(100);
}
}
} ;