diff --git a/wadsrc/static/zscript/games/duke/actors/dukecstuff/rat.zs b/wadsrc/static/zscript/games/duke/actors/dukecstuff/rat.zs index 39debbad0..51efc37de 100644 --- a/wadsrc/static/zscript/games/duke/actors/dukecstuff/rat.zs +++ b/wadsrc/static/zscript/games/duke/actors/dukecstuff/rat.zs @@ -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; diff --git a/wadsrc/static/zscript/games/duke/actors/dukeweapons/shrinker.zs b/wadsrc/static/zscript/games/duke/actors/dukeweapons/shrinker.zs index dcc513cc5..dd2f152f4 100644 --- a/wadsrc/static/zscript/games/duke/actors/dukeweapons/shrinker.zs +++ b/wadsrc/static/zscript/games/duke/actors/dukeweapons/shrinker.zs @@ -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!