summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemThrowable.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-04 22:10:44 +0100
committerMattes D <github@xoft.cz>2014-02-04 22:10:44 +0100
commitdad49c6fddaa361cd4f98b095cfeb0e2d2e1a435 (patch)
tree01bca60c90c1d5a6a5d00429a95bb99b3dfa9ac1 /src/Items/ItemThrowable.h
parentFixed chest placement. (diff)
parentFix gcc not having operator ++ on enums (diff)
downloadcuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.gz
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.bz2
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.lz
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.xz
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.zst
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.zip
Diffstat (limited to 'src/Items/ItemThrowable.h')
-rw-r--r--src/Items/ItemThrowable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Items/ItemThrowable.h b/src/Items/ItemThrowable.h
index fc24e775a..46049f961 100644
--- a/src/Items/ItemThrowable.h
+++ b/src/Items/ItemThrowable.h
@@ -26,7 +26,7 @@ public:
}
- virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
+ virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir) override
{
if (!a_Player->IsGameModeCreative())
{
@@ -120,7 +120,7 @@ public:
{
}
- virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
+ virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir) override
{
if (a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ) == E_BLOCK_AIR)
{
@@ -137,4 +137,4 @@ public:
return true;
}
-}; \ No newline at end of file
+};