summaryrefslogtreecommitdiffstats
path: root/source/ItemGrid.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-26 22:18:56 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-26 22:18:56 +0200
commit46ce9df7d91bc4da0f924786d668bafa35d63947 (patch)
treeaaa67c9b5b4aa8b12393094e959a7be82595a157 /source/ItemGrid.h
parentProtectionAreas: Fixed a mistyped variable name (diff)
downloadcuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar
cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.gz
cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.bz2
cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.lz
cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.xz
cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.zst
cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.zip
Diffstat (limited to 'source/ItemGrid.h')
-rw-r--r--source/ItemGrid.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/ItemGrid.h b/source/ItemGrid.h
index 82898537c..80ea17c8b 100644
--- a/source/ItemGrid.h
+++ b/source/ItemGrid.h
@@ -98,10 +98,14 @@ public:
*/
int ChangeSlotCount(int a_X, int a_Y, int a_AddToCount);
- /// Removes one item from the specified slot, and returns it. If the slot was empty, returns an empty item
+ /** Removes one item from the stack in the specified slot, and returns it.
+ If the slot was empty, returns an empty item
+ */
cItem RemoveOneItem(int a_SlotNum);
- /// Removes one item from the specified slot, and returns it. If the slot was empty, returns an empty item
+ /** Removes one item from the stack in the specified slot, and returns it.
+ If the slot was empty, returns an empty item
+ */
cItem RemoveOneItem(int a_X, int a_Y);
/// Returns the number of items of type a_Item that are stored