This commit is contained in:
aozhiwei 2021-03-17 13:50:25 +08:00
parent b9cdccc885
commit 11131887a0

View File

@ -119,6 +119,10 @@ void HeroAI::UpdateIdle()
void HeroAI::UpdateThinking()
{
#if 1
ChangeToStateAI(HSE_RandomWalk);
return ;
#endif
Hero* hero = (Hero*)owner;
if (hero->room->GetGasData().gas_mode == GasInactive ||
hero->room->IsWaitingStart() ||
@ -447,3 +451,4 @@ int HeroAI::GetAttackTimes()
}
#endif
}