summaryrefslogtreecommitdiffstats
path: root/source/cInventory.cpp
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-22 17:30:40 +0100
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-22 17:30:40 +0100
commite54373160b69c342dd1a625a841bda3707ba7acf (patch)
tree2a01aba188c6d79ab366cb4dbb0a4dc94ff31a55 /source/cInventory.cpp
parentMissed a class in r94 ;) Sorry guys :D (diff)
downloadcuberite-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 '')
-rw-r--r--source/cInventory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/cInventory.cpp b/source/cInventory.cpp
index 68b8b431e..18862b78b 100644
--- a/source/cInventory.cpp
+++ b/source/cInventory.cpp
@@ -320,9 +320,9 @@ void cInventory::SendSlot( int a_SlotNum )
{
cPacket_InventorySlot InventorySlot;
InventorySlot.m_ItemCount = Item->m_ItemCount;
- InventorySlot.m_ItemID = Item->m_ItemID;
- InventorySlot.m_ItemUses = (char)Item->m_ItemHealth;
- InventorySlot.m_SlotNum = (short)a_SlotNum;
+ InventorySlot.m_ItemID = (short) Item->m_ItemID;
+ InventorySlot.m_ItemUses = (char) Item->m_ItemHealth;
+ InventorySlot.m_SlotNum = (short) a_SlotNum;
InventorySlot.m_WindowID = 0; // Inventory window ID
m_Owner->GetClientHandle()->Send( InventorySlot );
}