mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Fixed weapon start ammo
This commit is contained in:
parent
b18ac80c7d
commit
e52ce2101c
1 changed files with 5 additions and 2 deletions
|
@ -2891,13 +2891,16 @@ void Weapon::GiveStartingAmmoToOwner
|
|||
}
|
||||
else
|
||||
{
|
||||
start_ammo = 0;
|
||||
ammo_in_clip[ mode ] = start_ammo + ammo_in_clip[ mode ];
|
||||
start_ammo = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
owner->GiveAmmo( ammotype, start_ammo );
|
||||
if( start_ammo )
|
||||
{
|
||||
owner->GiveAmmo( ammotype, start_ammo );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue