Page MenuHomeFeedback Tracker

SpawnAmmo() function spawns random ammo regardless of parameters
Awaiting internal Testing, NormalPublic

Description

SpawnAmmo() function spawns random ammo regardless of parameters.

The reason being is in Build 1.28.159992, Scripts Rev. 114410
4_World\Entites\Firearms\Weapon_Base.c
line 965

FillSpecificChamber(m) doesn't include the other parameters.
Changing it to: FillSpecificChamber(m, 0, ammoType) will fix the problem.

Because you didn't pass a ammoType parameter, no matter what the ammoType is prior, it will always spawn a random bullet. Thanks.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General

Event Timeline

designful created this task.Fri, Jul 4, 2:31 AM
designful updated the task description. (Show Details)Fri, Jul 4, 2:35 AM
Geez changed the task status from New to Awaiting internal Testing.Fri, Jul 4, 1:01 PM