diff options
author | madmaxoft <github@xoft.cz> | 2013-10-18 18:01:19 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-18 18:01:19 +0200 |
commit | 546dbf3c532d4749be8128884255c0912de454c9 (patch) | |
tree | 2ca09b6e6cc8389d039a227885b9819537da8f92 /source | |
parent | Fixed indentation and re-styled conditions. (diff) | |
download | cuberite-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.cpp | 2 |
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; } |