mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 12:28:26 +00:00
[Strings] Refactor Strings Usage (#2305)
* Initial commit checkpoint * More functions converted * Commify * More functions * Fin * Sort declarations * Split functions between files * Bots * Update strings.h * Split * Revert find replaces * Repository template * Money * Misc function * Update CMakeLists.txt * Saylink * Update strings.cpp * Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database * API casings
This commit is contained in:
+2
-2
@@ -3335,7 +3335,7 @@ void EntityList::CorpseFix(Client* c)
|
||||
cur->GetFixedZ(c->GetPosition()),
|
||||
c->GetHeading()
|
||||
);
|
||||
|
||||
|
||||
fixed_count++;
|
||||
}
|
||||
}
|
||||
@@ -5129,7 +5129,7 @@ std::vector<Bot *> EntityList::GetBotListByClientName(std::string client_name)
|
||||
}
|
||||
|
||||
for (auto bot : bot_list) {
|
||||
if (bot->GetOwner() && str_tolower(bot->GetOwner()->GetCleanName()) == str_tolower(client_name)) {
|
||||
if (bot->GetOwner() && Strings::ToLower(bot->GetOwner()->GetCleanName()) == Strings::ToLower(client_name)) {
|
||||
client_bot_list.push_back(bot);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user