CheckReload: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
m (Spelling mistake)
No edit summary
Line 1: Line 1:
'''CheckReload''' is a player weapon codepointer. This codepointer is used to cause a weapon to skip post-firing reload animations when the player does not have enough ammo with which to reload the weapon (by default, only the DOOM II Super Shotgun uses this codepointer).
'''CheckReload''' (void)
 
==Usage==
CheckReload is a player weapon codepointer. This codepointer is used to cause a weapon to skip post-firing reload animations when the player does not have enough ammo with which to reload the weapon (by default, only the DOOM II Super Shotgun uses this codepointer).


====Special Notes====
====Special Notes====

Revision as of 22:09, 21 April 2009

CheckReload (void)

Usage

CheckReload is a player weapon codepointer. This codepointer is used to cause a weapon to skip post-firing reload animations when the player does not have enough ammo with which to reload the weapon (by default, only the DOOM II Super Shotgun uses this codepointer).

Special Notes

This codepointer did not function correctly in BOOM, MBF, SMMU, or early versions of the Eternity Engine due to an oversight made during changes to the weapon system. This error would cause the Super Shotgun to appear to reload even when the player had less than two shells. This behavior will still occur in old demos, but is otherwise repaired.