mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 04:01:06 +00:00
- RR: stop the bowling pins' tumbling animation when they come to a rest.
Fixes an original RR bug.
This commit is contained in:
parent
ff33dd7188
commit
532f994ccb
2 changed files with 7 additions and 1 deletions
|
@ -1031,6 +1031,7 @@ x(BOWLINGBALLSPRITE, 3437)
|
|||
x(POWDERH, 3438)
|
||||
x(BOWLINGPIN, 3440)
|
||||
x(BOWLINGPIN1, 3441)
|
||||
x(BOWLINGPIN2, 3442)
|
||||
x(DEVISTATOR, 3445)
|
||||
x(RPGGUN, 3452)
|
||||
y(RRTILE3462, 3462)
|
||||
|
|
|
@ -3,7 +3,7 @@ class RedneckBowlingPin : DukeActor
|
|||
default
|
||||
{
|
||||
RedneckBowlingPin.Behavior 0;
|
||||
spriteset "BOWLINGPIN", "BOWLINGPIN1";
|
||||
spriteset "BOWLINGPIN", "BOWLINGPIN1", "BOWLINGPIN2";
|
||||
}
|
||||
|
||||
meta int behavior;
|
||||
|
@ -65,6 +65,7 @@ class RedneckBowlingPin : DukeActor
|
|||
}
|
||||
if (type < 2 && self.vel.X == 0)
|
||||
{
|
||||
if (type == 0 && self.spritesetindex == 1) self.setSpritesetImage(2);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -72,6 +73,10 @@ class RedneckBowlingPin : DukeActor
|
|||
{
|
||||
self.Destroy();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (type == 0 && self.spritesetindex == 1) self.setSpritesetImage(2);
|
||||
}
|
||||
}
|
||||
|
||||
override void Tick()
|
||||
|
|
Loading…
Reference in a new issue