mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 16:08:44 +00:00
Changed: Replace NLMISC::strupr by NLMISC::toUpper
This commit is contained in:
parent
7af56ceb40
commit
e7fb9df922
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