mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed scaling issue with Duke's green slimer.
This commit is contained in:
parent
0c87bcb91b
commit
09df4da241
1 changed files with 2 additions and 2 deletions
|
@ -2302,13 +2302,13 @@ static void greenslime(DDukeActor *actor)
|
|||
if (actor->spr.scale.Y < 1) actor->spr.scale.Y += (0.03125);
|
||||
else
|
||||
{
|
||||
if (actor->spr.scale.X < 0.5) actor->spr.scale.Y += (0.0625);
|
||||
if (actor->spr.scale.X < 0.5) actor->spr.scale.X += (0.0625);
|
||||
else
|
||||
{
|
||||
actor->temp_data[0] = -1;
|
||||
double dist = (actor->spr.pos.XY() - s5->spr.pos.XY()).LengthSquared();
|
||||
if (dist < 48*48) {
|
||||
s5->spr.scale.X = (0);
|
||||
s5->spr.scale.X = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue