mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 17:38:44 +00:00
Fix compilation
--HG-- branch : item_group
This commit is contained in:
parent
8880c37fb2
commit
d4b2e64c21
1 changed files with 1 additions and 2 deletions
|
@ -429,8 +429,7 @@ CItemGroup* CItemGroupManager::findGroup(std::string name)
|
|||
{
|
||||
for(int i=0;i<_Groups.size();i++)
|
||||
{
|
||||
CItemGroup group = _Groups[i];
|
||||
if (group.name == name) return &group;
|
||||
if (_Groups[i].name == name) return &_Groups[i];
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue