This commit is contained in:
aozhiwei 2020-07-31 15:38:24 +08:00
parent a69205270c
commit ca496d79bc
2 changed files with 6 additions and 1 deletions

View File

@ -3936,7 +3936,7 @@ void Human::OnChgToTerminator()
}
break;
}
weapon->weapon_idx = 0;
weapon->weapon_idx = i;
weapon->weapon_id = weapon_meta->i->id();
weapon->weapon_lv = 1;
weapon->ammo = 1;

View File

@ -411,6 +411,11 @@ Human* ZombieModeAI::GetTarget()
target = nullptr;
}
#endif
#if 1
if (target->IsPlayer()) {
target = nullptr;
}
#endif
}
return target;
}