A_RestoreSpecialThing2

From ZDoom Wiki
Jump to navigation Jump to search

A_RestoreSpecialThing2

(no parameters)

Error.gif
Warning: This function should not be used. This article is for the purposes of complete documentation only.


Gives the calling actor the SPECIAL flag and, if it normally has it, restores the NOGRAVITY flag as well, then puts the calling actor back in its Spawn state. This, along with A_RestoreSpecialPosition and A_RestoreSpecialThing1, is used by the engine to "respawn" pickup items that were "hidden" after pickup.