PDA

View Full Version : [weaponbox] Can't give rockets



Solokiller
01-06-2016, 04:40 AM
weaponbox can't give rockets. The "rockets" ammo type isn't handled by it. Please update it to enumerate the ammo list (https://github.com/ValveSoftware/halflife/blob/master/dlls/weapons.cpp#L51) so all ammo types are supported, including custom types. Remove the manual checks where they would be covered by the ammo array so as to not waste time checking the same strings.

spy-warrior
23-07-2016, 07:51 AM
fixed 5.04 or 5.05