mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +00:00
Fixes #129 - Initialize pointer to nullptr.
This commit is contained in:
+1
-1
@@ -14967,7 +14967,7 @@ void Bot::ProcessBotCommands(Client *c, const Seperator *sep) {
|
||||
return;
|
||||
}
|
||||
|
||||
Bot* targetedBot;
|
||||
Bot *targetedBot = nullptr;
|
||||
|
||||
if(c->GetTarget() != nullptr) {
|
||||
if (c->GetTarget()->IsBot() && (c->GetTarget()->CastToBot()->GetBotOwner() == c))
|
||||
|
||||
Reference in New Issue
Block a user