- fix two errors.

This commit is contained in:
Christoph Oelckers 2023-04-29 11:31:05 +02:00
parent 47f9642294
commit 330cb9eacb
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class DukeRat : DukeActor
{
self.timetosleep = 0;
self.ChangeStat(STAT_ACTOR);
if (Raze.isRR()) self.shade = self.ownerActor.shade;
if (isRR()) self.shade = self.ownerActor.shade;
}
else self.ChangeStat(STAT_ZOMBIEACTOR);
self. clipdist = 10;

View file

@ -7,7 +7,7 @@ class DukeShrinker : DukeActor
if (shooter.extra >= 0) shooter.shade = -96;
if (p != null)
{
let aimed = Raze.IsNamWW2GI()? null : shooter.aim(self);
let aimed = IsNamWW2GI()? null : shooter.aim(self);
if (aimed)
{
double dal = ((aimed.scale.X * aimed.spriteHeight()) * 0.5); // note the incorrect scale this uses!