1
This commit is contained in:
parent
41d569d08c
commit
986483d2b0
@ -194,11 +194,7 @@ void Buff::ProcBecome(Creature* caster)
|
||||
weapon->weapon_lv = 1;
|
||||
weapon->meta = weapon_meta;
|
||||
weapon->Recalc();
|
||||
#if 1
|
||||
weapon->ammo = 10000000;
|
||||
#else
|
||||
weapon->ammo = weapon->GetClipVolume();
|
||||
#endif
|
||||
if (i == 0) {
|
||||
caster->SetCurrWeapon(weapon);
|
||||
}
|
||||
|
@ -30,9 +30,9 @@ void Car::Initialize()
|
||||
weapons[GUN_SLOT1].weapon_idx = GUN_SLOT1;
|
||||
weapons[GUN_SLOT1].weapon_id = weapon_meta->i->id();
|
||||
weapons[GUN_SLOT1].weapon_lv = 1;
|
||||
weapons[GUN_SLOT1].ammo = 10000;
|
||||
weapons[GUN_SLOT1].meta = weapon_meta;
|
||||
weapons[GUN_SLOT1].Recalc();
|
||||
weapons[GUN_SLOT1].ammo = weapons[GUN_SLOT1].GetClipVolume();
|
||||
SetCurrWeapon(&weapons[GUN_SLOT1]);
|
||||
}
|
||||
born_frameno_ = room->GetFrameNo();
|
||||
|
Loading…
x
Reference in New Issue
Block a user