summaryrefslogtreecommitdiffstats
path: root/src/Inventory.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-17 19:13:23 +0200
committermadmaxoft <github@xoft.cz>2014-07-17 19:13:23 +0200
commit7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4 (patch)
tree54a0e32d887554b1131c8c9123027f16a7faf5d8 /src/Inventory.cpp
parentFixed basic whitespace problems. (diff)
downloadcuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.gz
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.bz2
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.lz
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.xz
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.tar.zst
cuberite-7fff12bfacbb4bef1c02cea0ec10fdc9a6fb64e4.zip
Diffstat (limited to 'src/Inventory.cpp')
-rw-r--r--src/Inventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Inventory.cpp b/src/Inventory.cpp
index bce882c88..38d3c886d 100644
--- a/src/Inventory.cpp
+++ b/src/Inventory.cpp
@@ -493,7 +493,7 @@ bool cInventory::AddToBar( cItem & a_Item, const int a_Offset, const int a_Size,
if( NumFree >= a_Item.m_ItemCount )
{
- //printf("1. Adding %i items ( free: %i )\n", a_Item.m_ItemCount, NumFree );
+ // printf("1. Adding %i items ( free: %i )\n", a_Item.m_ItemCount, NumFree );
m_Slots[i + a_Offset].m_ItemCount += a_Item.m_ItemCount;
a_Item.m_ItemCount = 0;
a_bChangedSlots[i + a_Offset] = true;
@@ -501,7 +501,7 @@ bool cInventory::AddToBar( cItem & a_Item, const int a_Offset, const int a_Size,
}
else
{
- //printf("2. Adding %i items\n", NumFree );
+ // printf("2. Adding %i items\n", NumFree );
m_Slots[i + a_Offset].m_ItemCount += (char)NumFree;
a_Item.m_ItemCount -= (char)NumFree;
a_bChangedSlots[i + a_Offset] = true;