summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-18 18:01:19 +0200
committermadmaxoft <github@xoft.cz>2013-10-18 18:01:19 +0200
commit546dbf3c532d4749be8128884255c0912de454c9 (patch)
tree2ca09b6e6cc8389d039a227885b9819537da8f92 /source
parentFixed indentation and re-styled conditions. (diff)
downloadcuberite-546dbf3c532d4749be8128884255c0912de454c9.tar
cuberite-546dbf3c532d4749be8128884255c0912de454c9.tar.gz
cuberite-546dbf3c532d4749be8128884255c0912de454c9.tar.bz2
cuberite-546dbf3c532d4749be8128884255c0912de454c9.tar.lz
cuberite-546dbf3c532d4749be8128884255c0912de454c9.tar.xz
cuberite-546dbf3c532d4749be8128884255c0912de454c9.tar.zst
cuberite-546dbf3c532d4749be8128884255c0912de454c9.zip
Diffstat (limited to '')
-rw-r--r--source/Inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Inventory.cpp b/source/Inventory.cpp
index c104db4c7..d5fc7f0d8 100644
--- a/source/Inventory.cpp
+++ b/source/Inventory.cpp
@@ -374,7 +374,7 @@ bool cInventory::DamageItem(int a_SlotNum, short a_Amount)
}
// The item has broken, remove it:
- Grid->EmptySlot(a_SlotNum);
+ Grid->EmptySlot(GridSlotNum);
return true;
}