mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-15 14:51:13 +00:00
19 lines
No EOL
297 B
Text
19 lines
No EOL
297 B
Text
|
|
class Spark : Actor
|
|
{
|
|
default
|
|
{
|
|
+NOSECTOR
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
}
|
|
|
|
override void Activate (Actor activator)
|
|
{
|
|
Super.Activate (activator);
|
|
DrawSplash (args[0] ? args[0] : 32, Angle, 1);
|
|
A_StartSound ("world/spark", CHAN_AUTO, CHANF_DEFAULT, 1, ATTN_STATIC);
|
|
}
|
|
|
|
} |