mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- fix two errors.
This commit is contained in:
parent
47f9642294
commit
330cb9eacb
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue