diff --git a/server/gameserver/zombiemode.ai.cc b/server/gameserver/zombiemode.ai.cc index c6f8128..ca30ff8 100644 --- a/server/gameserver/zombiemode.ai.cc +++ b/server/gameserver/zombiemode.ai.cc @@ -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) {