From e54373160b69c342dd1a625a841bda3707ba7acf Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Thu, 22 Dec 2011 16:30:40 +0000 Subject: Fixes: - Pickups fall through water now (Server-side they stayed in the water surface) - Suppressed some warnings (int to short etc.) - Water is now passable for cTracer git-svn-id: http://mc-server.googlecode.com/svn/trunk@96 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cInventory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/cInventory.cpp') 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 ); } -- cgit v1.2.3