mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 21:12:26 +00:00
Fixes #129 - Initialize pointer to nullptr.
This commit is contained in:
parent
d70c4d7bbe
commit
0e8f62b480
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user