summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-27 23:15:51 +0200
committermadmaxoft <github@xoft.cz>2014-07-27 23:15:51 +0200
commitfd4ee20b2a927649b4671be95dccc8644c96e5ab (patch)
treeb7cb50dc47d537c99a22b64109598171dbf092ed /src/Items/ItemHandler.cpp
parentMerge pull request #1236 from Howaner/Inventory2 (diff)
downloadcuberite-fd4ee20b2a927649b4671be95dccc8644c96e5ab.tar
cuberite-fd4ee20b2a927649b4671be95dccc8644c96e5ab.tar.gz
cuberite-fd4ee20b2a927649b4671be95dccc8644c96e5ab.tar.bz2
cuberite-fd4ee20b2a927649b4671be95dccc8644c96e5ab.tar.lz
cuberite-fd4ee20b2a927649b4671be95dccc8644c96e5ab.tar.xz
cuberite-fd4ee20b2a927649b4671be95dccc8644c96e5ab.tar.zst
cuberite-fd4ee20b2a927649b4671be95dccc8644c96e5ab.zip
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r--src/Items/ItemHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index ec86648b3..d36b5d663 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -366,7 +366,7 @@ void cItemHandler::OnFoodEaten(cWorld * a_World, cPlayer * a_Player, cItem * a_I
short cItemHandler::GetDurabilityLossByAction(eDurabilityLostAction a_Action)
{
- switch (a_Action)
+ switch ((int)a_Action)
{
case dlaAttackEntity: return 2;
case dlaBreakBlock: return 1;