1
This commit is contained in:
parent
78e52a7ff9
commit
7ba43acd3d
@ -2967,9 +2967,9 @@ void Human::ProcBuffEffect(Human* caster, Buff* buff)
|
||||
car_weapon.weapon_idx = 100;
|
||||
car_weapon.weapon_id = car_weapon_meta->i->id();
|
||||
car_weapon.weapon_lv = 1;
|
||||
car_weapon.ammo = 1;
|
||||
car_weapon.meta = car_weapon_meta;
|
||||
car_weapon.Recalc();
|
||||
car_weapon.ammo = car_weapon.GetClipVolume();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3943,9 +3943,9 @@ void Human::OnChgToTerminator()
|
||||
weapon->weapon_idx = i;
|
||||
weapon->weapon_id = weapon_meta->i->id();
|
||||
weapon->weapon_lv = 1;
|
||||
weapon->ammo = 1;
|
||||
weapon->meta = weapon_meta;
|
||||
weapon->Recalc();
|
||||
weapon->ammo = weapon->GetClipVolume();
|
||||
if (i == 0) {
|
||||
default_weapon = *weapon;
|
||||
}
|
||||
|
@ -412,7 +412,7 @@ Human* ZombieModeAI::GetTarget()
|
||||
target = nullptr;
|
||||
}
|
||||
#endif
|
||||
#if 1
|
||||
#if 0
|
||||
if (target->IsPlayer()) {
|
||||
target = nullptr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user