mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-28 15:02:24 +00:00
7f240a0a7a
This means all functions using this can now pass class pointers directly to the native code.
22 lines
421 B
Text
22 lines
421 B
Text
class DukeSteam : DukeActor
|
|
{
|
|
default
|
|
{
|
|
pic "STEAM";
|
|
}
|
|
|
|
override void Initialize()
|
|
{
|
|
let owner = self.ownerActor;
|
|
|
|
if (owner && owner != self)
|
|
{
|
|
self.Angle = owner.Angle;
|
|
self.cstat = CSTAT_SPRITE_ALIGNMENT_WALL | CSTAT_SPRITE_YCENTER | CSTAT_SPRITE_TRANSLUCENT;
|
|
self.vel.X = -0.5;
|
|
self.doMove(CLIPMASK0);
|
|
}
|
|
self.scale = (REPEAT_SCALE, REPEAT_SCALE);
|
|
self.ChangeStat(STAT_STANDABLE);
|
|
}
|
|
}
|