mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 10:30:01 +01:00
Fix debug message
This commit is contained in:
parent
78832f106e
commit
75475e3986
@ -853,7 +853,7 @@ void MovementAction::UpdateMovementState()
|
|||||||
Transport* newTransport = bot->GetMap()->GetTransportForPos(bot->GetPhaseMask(), bot->GetPositionX(), bot->GetPositionY(), bot->GetPositionZ(), bot);
|
Transport* newTransport = bot->GetMap()->GetTransportForPos(bot->GetPhaseMask(), bot->GetPositionX(), bot->GetPositionY(), bot->GetPositionZ(), bot);
|
||||||
if (newTransport != bot->GetTransport())
|
if (newTransport != bot->GetTransport())
|
||||||
{
|
{
|
||||||
LOG_DEBUG("playerbots", "Bot {} is on a transport", IsMovingAllowed());
|
LOG_DEBUG("playerbots", "Bot {} is on a transport", bot->GetName());
|
||||||
|
|
||||||
if (bot->GetTransport())
|
if (bot->GetTransport())
|
||||||
bot->GetTransport()->RemovePassenger(bot, true);
|
bot->GetTransport()->RemovePassenger(bot, true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user