Dummyplayersprite

From EDukeWiki
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.