Fix debug message

This commit is contained in:
Revision
2024-07-28 02:57:46 +02:00
parent 78832f106e
commit 75475e3986

View File

@@ -853,7 +853,7 @@ void MovementAction::UpdateMovementState()
Transport* newTransport = bot->GetMap()->GetTransportForPos(bot->GetPhaseMask(), bot->GetPositionX(), bot->GetPositionY(), bot->GetPositionZ(), bot);
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())
bot->GetTransport()->RemovePassenger(bot, true);