diff options
Diffstat (limited to 'source/Item.h')
-rw-r--r-- | source/Item.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Item.h b/source/Item.h index 8b78d4610..2fcef91cf 100644 --- a/source/Item.h +++ b/source/Item.h @@ -137,14 +137,14 @@ public: void Clear (void) {clear(); } int Size (void) {return size(); } - void Add (ENUM_ITEM_ID a_ItemType, char a_ItemCount, short a_ItemHealth) + void Add (ENUM_ITEM_ID a_ItemType, char a_ItemCount, short a_ItemDamage) { - push_back(cItem(a_ItemType, a_ItemCount, a_ItemHealth)); + push_back(cItem(a_ItemType, a_ItemCount, a_ItemDamage)); } - void Set (int a_Idx, ENUM_ITEM_ID a_ItemType, char a_ItemCount, short a_ItemHealth) + void Set (int a_Idx, ENUM_ITEM_ID a_ItemType, char a_ItemCount, short a_ItemDamage) { - at(a_Idx) = cItem(a_ItemType, a_ItemCount, a_ItemHealth); + at(a_Idx) = cItem(a_ItemType, a_ItemCount, a_ItemDamage); } // tolua_end } ; // tolua_export |