- Duke: Fix missing greenslime base sprite when randomly changing animation.

This commit is contained in:
Mitchell Richters 2023-03-19 11:30:01 +11:00
parent 4153c38bd3
commit df5e8b1d04

View file

@ -272,7 +272,7 @@ class DukeGreenSlime : DukeActor
s5.vel.X = 0; s5.vel.X = 0;
self.pos = s5.pos + s5.angle.ToVector() * 0.5; self.pos = s5.pos + s5.angle.ToVector() * 0.5;
self.setspriteSetImage(Duke.global_random() & 1); self.setspriteSetImage(2 + (Duke.global_random() & 1));
if (self.scale.Y < 1) self.scale.Y += (0.03125); if (self.scale.Y < 1) self.scale.Y += (0.03125);
else else