Subweapon

From EDukeWiki
Revision as of 22:55, 19 February 2020 by Fox (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This value is used to "remember" if the player has the Shrinker or Expander selected when changing weapon.

Works like a bitfield, with the only value used in Duke Nukem 3D v1.4 being 2048 (one shifted left by GROW_WEAPON) if the Expander has been used instead of the Shrinker last time, otherwise it equals zero.

Identical to bsubweapon, except it interprets the value as true/false for each weapon.