From f63b1b2e131948bed4b9e8ff3a9e4a7578a2be2e Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 27 Jan 2013 04:04:18 +0000 Subject: cItems: Fixed parameter names according to conventions git-svn-id: http://mc-server.googlecode.com/svn/trunk@1179 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Item.h | 8 ++++---- 1 file 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 -- cgit v1.2.3