Bug #1256

/class s 4 won't pick smg as secondary weapon

Added by Spyhawk 4 months ago. Updated 4 months ago.

Status:Invalid% Done:

100%

Priority:NormalSpent time:-
Assignee:-
Category:Mod CGAME
Target version:2.77
OS: Arch:

Description

In https://github.com/etlegacy/etlegacy/blob/922894084b9c87650bf12d46bc9d56e3a93817f8/src/cgame/cg_consolecmds.c#L1253, cgs.ccSelectedPrimaryWeapon isnt updated so /class s 4 (soldier with Panzerfaust/Bazooka) won’t pick smg as secondary weapon.

History

#1 Updated by Spyhawk 4 months ago

  • Status changed from New to Invalid
  • % Done changed from 0 to 100

This actually works already, but you have to pass secondary weapon as extra parameter: `/class s 4 2` (0=colt, 1=dual pistol, 2=smg)

Also available in: Atom PDF