Fixed warning in BlockID.
This commit is contained in:
parent
a91129af4a
commit
a4d8c6d656
@ -102,7 +102,7 @@ public:
|
|||||||
return true;
|
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"))
|
if ((a_Item.m_ItemDamage == 0) && (Split[1] != "0"))
|
||||||
{
|
{
|
||||||
// Parsing the number failed
|
// Parsing the number failed
|
||||||
|
Loading…
Reference in New Issue
Block a user