diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-22 17:30:40 +0100 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-22 17:30:40 +0100 |
commit | e54373160b69c342dd1a625a841bda3707ba7acf (patch) | |
tree | 2a01aba188c6d79ab366cb4dbb0a4dc94ff31a55 /source/packets/cPacket_ItemData.cpp | |
parent | Missed a class in r94 ;) Sorry guys :D (diff) | |
download | cuberite-e54373160b69c342dd1a625a841bda3707ba7acf.tar cuberite-e54373160b69c342dd1a625a841bda3707ba7acf.tar.gz cuberite-e54373160b69c342dd1a625a841bda3707ba7acf.tar.bz2 cuberite-e54373160b69c342dd1a625a841bda3707ba7acf.tar.lz cuberite-e54373160b69c342dd1a625a841bda3707ba7acf.tar.xz cuberite-e54373160b69c342dd1a625a841bda3707ba7acf.tar.zst cuberite-e54373160b69c342dd1a625a841bda3707ba7acf.zip |
Diffstat (limited to 'source/packets/cPacket_ItemData.cpp')
-rw-r--r-- | source/packets/cPacket_ItemData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/packets/cPacket_ItemData.cpp b/source/packets/cPacket_ItemData.cpp index 60772d690..1c1d13c60 100644 --- a/source/packets/cPacket_ItemData.cpp +++ b/source/packets/cPacket_ItemData.cpp @@ -42,7 +42,7 @@ int cPacket_ItemData::GetSize(short a_ItemID) void cPacket_ItemData::AppendItem(char* a_Message, unsigned int &a_Iterator, cItem *a_Item)
{
- return AppendItem(a_Message, a_Iterator, a_Item->m_ItemID, a_Item->m_ItemCount, a_Item->m_ItemHealth);
+ return AppendItem(a_Message, a_Iterator, (short) a_Item->m_ItemID, a_Item->m_ItemCount, a_Item->m_ItemHealth);
}
void cPacket_ItemData::AppendItem(char* a_Message, unsigned int &a_Iterator, short a_ItemID, char a_Quantity, short a_Damage)
|