Fixed weapon start ammo

This commit is contained in:
Ley0k 2016-08-02 16:54:02 +02:00
parent b18ac80c7d
commit e52ce2101c

View file

@ -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 );
}
}
}
}