mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-12 05:32:14 +00:00
513de38723
Using ownerActor is not robust, for some actors this will have unwanted side effects.
24 lines
384 B
Text
24 lines
384 B
Text
class DukeRubberCan : DukeActor
|
|
{
|
|
default
|
|
{
|
|
pic "RUBBERCAN";
|
|
Strength WEAK;
|
|
+FORCERUNCON;
|
|
+CHECKSLEEP;
|
|
+MOVEFTA_MAKESTANDABLE;
|
|
}
|
|
|
|
override void Initialize(DukeActor spawner)
|
|
{
|
|
if (!self.mapSpawned)
|
|
self.scale = (0.5, 0.5);
|
|
self.cstat = CSTAT_SPRITE_BLOCK_ALL | randomXFlip();
|
|
self.clipdist = 18;
|
|
self.ChangeStat(STAT_ZOMBIEACTOR);
|
|
self.extra = 0;
|
|
}
|
|
|
|
}
|
|
|
|
|