mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-22 04:56:22 +00:00
Fix debug message
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user