Files
mir_server/server/LogicServer/ai/WalkRideAi.cpp
aixianling 5c9f1dae4a init
2025-01-09 17:45:40 +08:00

28 lines
556 B
C++

// #include "StdAfx.h"
// void CWalkRideAI::UpdateAI( TICKCOUNT nCurrentTick )
// {
// Inherid::UpdateAI(nCurrentTick);
// CActor * pActor = ((CWalkRide *)m_pSelf)->GetMaster();
// if(pActor == NULL)
// {
// return;
// }
// INT_PTR nDis = m_pSelf->GetEntityDistanceSquare(pActor);
// if (nDis >= 20 && m_pSelf->GetSceneID() != pActor->GetSceneID())
// {
// m_pSelf->MoveToEntity(pActor);
// }
// else
// {
// m_pSelf->GetMoveSystem()->MoveFollow(pActor);
// }
// }
// void CWalkRideAI::initialize( PAICONFIG pAiconfig )
// {
// }