cItems: Fixed parameter names according to conventions

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1179 0a769ca7-a7f5-676a-18bf-c427514a06d6
master
madmaxoft@gmail.com 2013-01-27 04:04:18 +00:00
parent 67048ee057
commit f63b1b2e13
1 changed files with 4 additions and 4 deletions

View File

@ -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