Fixed a bug in the inventory system where it would de-sync when dragging items with non-default metadata/health
Android: Updated VS2008 project to point to correct Android files Android: Updated makefiles to compile CryptoPP Android: Modified CryptoPP config.h and misc.cpp so it compiles for Android Android: Added pretty MCServer icons git-svn-id: http://mc-server.googlecode.com/svn/trunk@893 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -61,7 +61,7 @@ void cSlotArea::Clicked(cPlayer & a_Player, int a_SlotNum, bool a_IsRightClick,
|
||||
}
|
||||
|
||||
cItem Slot(*GetSlot(a_SlotNum, a_Player));
|
||||
if (!Slot.IsEqual(a_ClickedItem))
|
||||
if (!Slot.IsSameType(a_ClickedItem))
|
||||
{
|
||||
LOGD("*** Window lost sync at item %d in SlotArea with %d items ***", a_SlotNum, m_NumSlots);
|
||||
LOGD("My item: %s", ItemToFullString(Slot).c_str());
|
||||
|
||||
Reference in New Issue
Block a user