- Duke: fix some weirdness with item spawning.

This commit is contained in:
Christoph Oelckers 2023-05-14 10:51:33 +02:00
parent 22415d0d22
commit fc30f76f50

View file

@ -424,8 +424,8 @@ class DukeActor : CoreActor native
}
self.clipdist = 10;
if (self.ownerActor == null) self.ownerActor = self;
else self.angle = self.ownerActor.angle;
if (self.ownerActor != null) self.angle = self.ownerActor.angle;
self.ownerActor = self;
self.ChangeStat(STAT_ACTOR);
}
}