mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
commit
5e34b06952
@ -15474,7 +15474,7 @@ void Bot::ProcessBotCommands(Client *c, const Seperator *sep) {
|
|||||||
else {
|
else {
|
||||||
Mob *target = c->GetTarget();
|
Mob *target = c->GetTarget();
|
||||||
|
|
||||||
if(target->IsBot() && (c == target->GetOwner()->CastToClient())) {
|
if(target && target->IsBot() && (c == target->GetOwner()->CastToClient())) {
|
||||||
const InspectMessage_Struct& playermessage = c->GetInspectMessage();
|
const InspectMessage_Struct& playermessage = c->GetInspectMessage();
|
||||||
InspectMessage_Struct& botmessage = target->CastToBot()->GetInspectMessage();
|
InspectMessage_Struct& botmessage = target->CastToBot()->GetInspectMessage();
|
||||||
|
|
||||||
@ -15504,7 +15504,7 @@ void Bot::ProcessBotCommands(Client *c, const Seperator *sep) {
|
|||||||
|
|
||||||
Mob *target = c->GetTarget();
|
Mob *target = c->GetTarget();
|
||||||
|
|
||||||
if(target->IsBot() && (c == target->GetOwner()->CastToClient())) {
|
if(target && target->IsBot() && (c == target->GetOwner()->CastToClient())) {
|
||||||
Bot* bardBot = target->CastToBot();
|
Bot* bardBot = target->CastToBot();
|
||||||
|
|
||||||
if(bardBot) {
|
if(bardBot) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user