mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 04:50:26 +00:00
19 lines
229 B
Text
19 lines
229 B
Text
class WaterZone : Actor
|
|
{
|
|
default
|
|
{
|
|
+NOSECTOR
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
}
|
|
|
|
override void PostBeginPlay ()
|
|
{
|
|
Super.PostBeginPlay ();
|
|
CurSector.MoreFlags |= Sector.SECMF_UNDERWATER;
|
|
Destroy ();
|
|
}
|
|
|
|
|
|
}
|