From 925ad53daf87f8e108abb04e6ff954ca87110bd1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 14 Dec 2023 19:03:28 +0100 Subject: [PATCH] RR: Set Route66's Gator's size explicitly. The CON code for this sets its correct size with 'sizeto' which is an animating instruction so it is clearly visible when they shrink to their proper size. This now sets this size in the actual spawn function so that no shrinking animation can be seen. --- .../zscript/games/duke/actors/redneckenemies/gator.zs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wadsrc/static/zscript/games/duke/actors/redneckenemies/gator.zs b/wadsrc/static/zscript/games/duke/actors/redneckenemies/gator.zs index 33658a251..4f7ee1584 100644 --- a/wadsrc/static/zscript/games/duke/actors/redneckenemies/gator.zs +++ b/wadsrc/static/zscript/games/duke/actors/redneckenemies/gator.zs @@ -13,4 +13,11 @@ class RedneckGator : DukeActor +INTERNAL_BADGUY; +KILLCOUNT; } + + override void Initialize(DukeActor spawner) + { + self.scale = (0.28125, 0.28125); + self.setClipDistFromTile(); + } + } \ No newline at end of file