summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemMap.h
diff options
context:
space:
mode:
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)
{