Dummyplayersprite

From EDukeWiki
Revision as of 11:44, 26 July 2010 by Hendricks266 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of the player struct. When wading in water, a dummy PLAYERUNDERWATER sprite is spawned. The ID of this sprite is tracked in dummyplayersprite. This sprite is made to follow the player's position, and is killed when the player moves back out of water.

This can be examined when using room-over-room features for water sectors.