Changed: Replace NLMISC::strupr by NLMISC::toUpper
This commit is contained in:
parent
729f3f9340
commit
f93fa12e3d
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