- fixed: weapon names were printed instead of ammo in Shadow Warrior

This commit is contained in:
alexey.lysiuk 2020-02-02 14:36:56 +02:00
parent 9a235bebb6
commit d0c58b8e64

View file

@ -906,7 +906,7 @@ void LoadCustomInfoFromScript(const char *filename)
{
if (ammo)
{
quoteMgr.InitializeQuote(QUOTE_AMMOFIST + in, name);
quoteMgr.InitializeQuote(QUOTE_AMMOFIST + in, ammo);
}
if (pickup >= 0) DamageData[id].ammo_pickup = pickup;
}