From 46ce9df7d91bc4da0f924786d668bafa35d63947 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 26 May 2013 20:18:56 +0000 Subject: Clarified documentation on the cItemGrid:RemoveItem() functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@1519 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/ItemGrid.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/ItemGrid.h') 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 -- cgit v1.2.3