mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
commit
cec990716f
@ -1263,12 +1263,14 @@ XS(XS_Client_MovePC)
|
|||||||
THIS->MovePC(zoneID, x, y, z, heading);
|
THIS->MovePC(zoneID, x, y, z, heading);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (THIS->IsBot())
|
if (THIS->IsMerc())
|
||||||
_log(CLIENT__ERROR, "Perl(XS_Client_MovePC) attempted to process a type Bot reference");
|
|
||||||
else if (THIS->IsMerc())
|
|
||||||
_log(CLIENT__ERROR, "Perl(XS_Client_MovePC) attempted to process a type Merc reference");
|
_log(CLIENT__ERROR, "Perl(XS_Client_MovePC) attempted to process a type Merc reference");
|
||||||
else if (THIS->IsNPC())
|
else if (THIS->IsNPC())
|
||||||
_log(CLIENT__ERROR, "Perl(XS_Client_MovePC) attempted to process a type NPC reference");
|
_log(CLIENT__ERROR, "Perl(XS_Client_MovePC) attempted to process a type NPC reference");
|
||||||
|
#ifdef BOTS
|
||||||
|
else if (THIS->IsBot())
|
||||||
|
_log(CLIENT__ERROR, "Perl(XS_Client_MovePC) attempted to process a type Bot reference");
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
_log(CLIENT__ERROR, "Perl(XS_Client_MovePC) attempted to process an Unknown type reference");
|
_log(CLIENT__ERROR, "Perl(XS_Client_MovePC) attempted to process an Unknown type reference");
|
||||||
|
|
||||||
@ -1307,12 +1309,14 @@ XS(XS_Client_MovePCInstance)
|
|||||||
THIS->MovePC(zoneID, instanceID, x, y, z, heading);
|
THIS->MovePC(zoneID, instanceID, x, y, z, heading);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (THIS->IsBot())
|
if (THIS->IsMerc())
|
||||||
_log(CLIENT__ERROR, "Perl(XS_Client_MovePCInstance) attempted to process a type Bot reference");
|
|
||||||
else if (THIS->IsMerc())
|
|
||||||
_log(CLIENT__ERROR, "Perl(XS_Client_MovePCInstance) attempted to process a type Merc reference");
|
_log(CLIENT__ERROR, "Perl(XS_Client_MovePCInstance) attempted to process a type Merc reference");
|
||||||
else if (THIS->IsNPC())
|
else if (THIS->IsNPC())
|
||||||
_log(CLIENT__ERROR, "Perl(XS_Client_MovePCInstance) attempted to process a type NPC reference");
|
_log(CLIENT__ERROR, "Perl(XS_Client_MovePCInstance) attempted to process a type NPC reference");
|
||||||
|
#ifdef BOTS
|
||||||
|
else if (THIS->IsBot())
|
||||||
|
_log(CLIENT__ERROR, "Perl(XS_Client_MovePCInstance) attempted to process a type Bot reference");
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
_log(CLIENT__ERROR, "Perl(XS_Client_MovePCInstance) attempted to process an Unknown type reference");
|
_log(CLIENT__ERROR, "Perl(XS_Client_MovePCInstance) attempted to process an Unknown type reference");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user