Last weapon - EDukeWiki

# Last weapon

From EDukeWiki

last_weapon is set to the currently selected weapon when the player attempts to switch to another weapon. While the ID of the weapon is changed the instant the weapon starts to change, the tile that is drawn on screen is only set after weapon_pos reaches -9, and during that moment last_weapon is used to store the tile of the last weapon.

See WEAPON for the list of weapon IDs.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Last_weapon&oldid=11046"
Category:

- Player structure members