Jump to content

whitevamp

Members
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Everything posted by whitevamp

  1. I went too compile mangos 8632+ and the latest of playerbot, and had a few compile errors, ..\\..\\src\\game\\PlayerbotAI.cpp(492) : error C2065: 'MOVEMENTFLAG_FLYING2' : undeclared identifier ..\\..\\src\\game\\PlayerbotAI.cpp(504) : error C2065: 'MOVEMENTFLAG_FLYING2' : undeclared identifier so i removed this from line #'s 492 , and 504 of playerbotai.cpp m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING2); and changed it with this m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING); so the finel looks like this. --------------------------- src/game/PlayerbotAI.cpp --------------------------- index a6ef70f..6afa719 100644 @@ -489,7 +489,7 @@ void PlayerbotAI::HandleBotOutgoingPacket(const WorldPacket& packet) uint64 guid = extractGuid(p); if (guid != m_bot->GetGUID()) return; - m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING2); + m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING); //m_bot->SetSpeed(MOVE_RUN, GetMaster()->GetSpeed(MOVE_FLIGHT) +0.1f, true); return; } @@ -501,7 +501,7 @@ void PlayerbotAI::HandleBotOutgoingPacket(const WorldPacket& packet) uint64 guid = extractGuid(p); if (guid != m_bot->GetGUID()) return; - m_bot->m_movementInfo.RemoveMovementFlag(MOVEMENTFLAG_FLYING2); + m_bot->m_movementInfo.RemoveMovementFlag(MOVEMENTFLAG_FLYING); //m_bot->SetSpeed(MOVE_RUN,GetMaster()->GetSpeedRate(MOVE_RUN),true); return; } and it compiled fine after the changes.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use