A_BarrelDestroy

From ZDoom Wiki
Jump to: navigation, search

A_BarrelDestroy
(no parameters)


Removes the calling actor unless the game is in a multiplayer mode and the sv_barrelrespawn CVAR is set.

This function is used by Doom's barrel to selectively respawn in multiplayer games.