Skip to content

Commit

Permalink
Update tools.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofame authored Dec 10, 2024
1 parent 4d58073 commit 3fa1b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ int64_t OTSYS_TIME()

SpellGroup_t stringToSpellGroup(const std::string& value)
{
std::string tmpStr = boost::algorithm::to_lower_copy(value);
std::string tmpStr = asLowerCaseString(value);
if (tmpStr == "none" || tmpStr == "0") {
return SPELLGROUP_NONE;
} else if (tmpStr == "attack" || tmpStr == "1") {
Expand Down Expand Up @@ -1302,4 +1302,4 @@ std::string getStatName(uint8_t id)
default:
return "unknown";
}
}
}

0 comments on commit 3fa1b9f

Please sign in to comment.