From aa9e0c5aa030025bb7e2b95847ea3418433395b6 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 19 May 2013 18:42:42 +0000 Subject: Fixed linux compilation git-svn-id: http://mc-server.googlecode.com/svn/trunk@1496 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Inventory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Inventory.h b/source/Inventory.h index af4beb699..351d900dc 100644 --- a/source/Inventory.h +++ b/source/Inventory.h @@ -53,7 +53,7 @@ public: int GetEquippedSlotNum(void) { return m_EquippedSlotNum; } /// Adds the specified damage to the specified item; deletes the item and returns true if the item broke. - bool cInventory::DamageItem(int a_SlotNum, short a_Amount); + bool DamageItem(int a_SlotNum, short a_Amount); /// Adds the specified damage to the currently held item; deletes the item and returns true if the item broke. bool DamageEquippedItem(short a_Amount = 1); -- cgit v1.2.3