mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Changed: Replace NLMISC::strupr by NLMISC::toUpper
--HG-- branch : develop
This commit is contained in:
parent
613150e5bc
commit
80581347a4
2 changed files with 2 additions and 3 deletions
|
@ -971,8 +971,7 @@ uint32 AISHEETS::CSheets::getGroupPropertiesIndex(const std::string &groupIndexN
|
|||
if (groupIndexName.empty())
|
||||
return std::numeric_limits<uint32>::max();
|
||||
|
||||
NLMISC::strupr(groupIndexName);
|
||||
std::map<string, uint32>::iterator it = _NameToGroupIndex.find(groupIndexName);
|
||||
std::map<string, uint32>::iterator it = _NameToGroupIndex.find(NLMISC::toUpper(groupIndexName));
|
||||
if (it==_NameToGroupIndex.end())
|
||||
{
|
||||
uint32 groupIndex = (uint32)_NameToGroupIndex.size();
|
||||
|
|
|
@ -703,7 +703,7 @@ public:
|
|||
IAIActionCPtr lookupAction (NLMISC::CSheetId const& id);
|
||||
IRaceStatsCPtr lookupRaceStats (NLMISC::CSheetId const& id);
|
||||
|
||||
uint32 getGroupPropertiesIndex(std::string groupIndexName);
|
||||
uint32 getGroupPropertiesIndex(const std::string &groupIndexName);
|
||||
|
||||
uint32 playerGroupIndex() { return _PlayerGroupIndex; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue