diff options
author | madmaxoft <github@xoft.cz> | 2014-07-27 23:15:51 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-27 23:15:51 +0200 |
commit | fd4ee20b2a927649b4671be95dccc8644c96e5ab (patch) | |
tree | b7cb50dc47d537c99a22b64109598171dbf092ed /src/Items/ItemSword.h | |
parent | Merge pull request #1236 from Howaner/Inventory2 (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Items/ItemSword.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemSword.h b/src/Items/ItemSword.h index b90965535..2b2dbfc0d 100644 --- a/src/Items/ItemSword.h +++ b/src/Items/ItemSword.h @@ -46,7 +46,7 @@ public: virtual short GetDurabilityLossByAction(eDurabilityLostAction a_Action) override { - switch (a_Action) + switch ((int)a_Action) { case dlaAttackEntity: return 1; case dlaBreakBlock: return 2; |