mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-23 20:32:51 +00:00
19 lines
No EOL
288 B
Text
19 lines
No EOL
288 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_PlaySound ("world/spark", CHAN_AUTO, 1, false, ATTN_STATIC);
|
|
}
|
|
|
|
} |