Subweapon: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
This value is used to "remember" if the player has the Shrinker or Expander selected when changing weapon.
This value is used to "remember" if the player has the Shrinker or Expander selected when changing weapon.


Apparently it was meant to work like a bitfield, with the only value used being 2048 (one shifted right by GROW_WEAPON) if the Expander has been used instead of the Shrinker last time, otherwise it equals zero.
Apparently it was meant to work like a bitfield, with the only value used being 2048 (one shifted left by GROW_WEAPON) if the Expander has been used instead of the Shrinker last time, otherwise it equals zero.


[[Category:Player structure members]]
[[Category:Player structure members]]

Revision as of 13:55, 12 April 2013

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

Apparently it was meant to work like a bitfield, with the only value used being 2048 (one shifted left by GROW_WEAPON) if the Expander has been used instead of the Shrinker last time, otherwise it equals zero.