This commit is contained in:
aozhiwei 2020-07-29 17:33:34 +08:00
parent adfbf7e7c3
commit 51b0eeb0a6

View File

@ -176,7 +176,7 @@ void ZombieModeAI::UpdateThinking()
void ZombieModeAI::UpdateAttack()
{
Human* myself = (Human*)owner;
if (hum->HasBuffEffect(kBET_Vertigo)) {
if (myself->HasBuffEffect(kBET_Vertigo)) {
return;
}
if (!node_->target || node_->target->dead) {