0
0
Fork 0
mirror of https://github.com/ZDoom/gzdoom.git synced 2025-03-02 07:33:29 +00:00
gzdoom/wadsrc/static/zscript/actors/shared/waterzone.zs

19 lines
229 B
Text

class WaterZone : Actor
{
default
{
+NOSECTOR
+NOBLOCKMAP
+NOGRAVITY
+DONTSPLASH
}
override void PostBeginPlay ()
{
Super.PostBeginPlay ();
CurSector.MoreFlags |= Sector.SECMF_UNDERWATER;
Destroy ();
}
}