Jump to content

Dummyplayersprite

From EDukeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.