summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemMap.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-04 09:56:57 +0200
committermadmaxoft <github@xoft.cz>2014-04-04 09:56:57 +0200
commit402d85d896c793644681c4bb2934a7e0abb5ed8c (patch)
tree1cf3fa3d08cf88829695f8d063e3132be3f9e9b9 /src/Items/ItemMap.h
parentProtoProxy: Fixed a few Clang and MSVC warnings. (diff)
downloadcuberite-402d85d896c793644681c4bb2934a7e0abb5ed8c.tar
cuberite-402d85d896c793644681c4bb2934a7e0abb5ed8c.tar.gz
cuberite-402d85d896c793644681c4bb2934a7e0abb5ed8c.tar.bz2
cuberite-402d85d896c793644681c4bb2934a7e0abb5ed8c.tar.lz
cuberite-402d85d896c793644681c4bb2934a7e0abb5ed8c.tar.xz
cuberite-402d85d896c793644681c4bb2934a7e0abb5ed8c.tar.zst
cuberite-402d85d896c793644681c4bb2934a7e0abb5ed8c.zip
Diffstat (limited to 'src/Items/ItemMap.h')
-rw-r--r--src/Items/ItemMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemMap.h b/src/Items/ItemMap.h
index e8ff9da88..056fe0fe7 100644
--- a/src/Items/ItemMap.h
+++ b/src/Items/ItemMap.h
@@ -29,7 +29,7 @@ public:
virtual void OnUpdate(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item)
{
- cMap * Map = a_World->GetMapManager().GetMapData(a_Item.m_ItemDamage);
+ cMap * Map = a_World->GetMapManager().GetMapData((unsigned)a_Item.m_ItemDamage);
if (Map == NULL)
{