mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 08:47:16 +00:00
Warning fixes, general cleanup (#5053)
This commit is contained in:
1 parent
435224631f
commit
491b1edd12
107 files changed
+1279
-1542
No files matched your search
@@ -228,7 +228,7 @@ bool BotDatabase::LoadBotSpellCastingChances()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool BotDatabase::QueryNameAvailability(const std::string& bot_name, bool& available_flag)
|
||||
bool BotDatabase::QueryNameAvailability(const std::string& bot_name)
|
||||
{
|
||||
if (
|
||||
bot_name.empty() ||
|
||||
@@ -239,8 +239,6 @@ bool BotDatabase::QueryNameAvailability(const std::string& bot_name, bool& avail
|
||||
return false;
|
||||
}
|
||||
|
||||
available_flag = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user