1
0

Fixed warning in BlockID.

This commit is contained in:
madmaxoft 2014-05-01 22:47:02 +02:00
parent a91129af4a
commit a4d8c6d656

View File

@ -102,7 +102,7 @@ public:
return true;
}
a_Item.m_ItemDamage = atoi(Split[1].c_str());
a_Item.m_ItemDamage = (short)atoi(Split[1].c_str());
if ((a_Item.m_ItemDamage == 0) && (Split[1] != "0"))
{
// Parsing the number failed