From 58ee80564b753c8bfbbafb37553dd4f4af8919e2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 7 Apr 2023 00:15:15 +0200 Subject: [PATCH] - Duke: fixed scale default for non-ememies. --- wadsrc/static/zscript/games/duke/dukeactor.zs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wadsrc/static/zscript/games/duke/dukeactor.zs b/wadsrc/static/zscript/games/duke/dukeactor.zs index 83519489e..ec8761c4f 100644 --- a/wadsrc/static/zscript/games/duke/dukeactor.zs +++ b/wadsrc/static/zscript/games/duke/dukeactor.zs @@ -258,6 +258,11 @@ class DukeActor : CoreActor native { if (!self.mapSpawned) self.lotag = 0; + if (self.scale.X == 0 || self.scale.Y == 0) + { + self.scale = (REPEAT_SCALE, REPEAT_SCALE); + } + if (self.lotag > ud.player_skill) { self.scale = (0, 0);