From 13c9e9916b6889cf7b467036c010d0d560bca15e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 21 Jan 2023 15:48:55 +0100 Subject: [PATCH] - Duke: fixed the cactus. Statnums were wrong here. --- wadsrc/static/zscript/games/duke/actors/cactus.zs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/zscript/games/duke/actors/cactus.zs b/wadsrc/static/zscript/games/duke/actors/cactus.zs index a6c4e8ed4..37e23116a 100644 --- a/wadsrc/static/zscript/games/duke/actors/cactus.zs +++ b/wadsrc/static/zscript/games/duke/actors/cactus.zs @@ -10,7 +10,7 @@ class DukeCactusBroke : DukeActor { self.cstat |= CSTAT_SPRITE_BLOCK_ALL; self.clipdist = 8; - self.ChangeStat(STAT_ACTOR); + self.ChangeStat(STAT_DEFAULT); } } @@ -34,7 +34,7 @@ class DukeCactus : DukeCactusBroke double vel = frandom(4, 8); double zvel = -frandom(0, 16) - self.vel.Z * 0.25; - let spawned = dlevel.SpawnActor(self.sector, self.pos.plusZ(-48), "DukeScrap", -8, (0.75, 0.75), ang, vel, zvel, self); + let spawned = dlevel.SpawnActor(self.sector, self.pos.plusZ(-48), "DukeScrap", -8, (0.75, 0.75), ang, vel, zvel, self, STAT_MISC); if (spawned) { spawned.spriteextra = DukeScrap.Scrap3 + random(0, 3);