From 1e356741f9d5d998e642de5ac166950b770d0a0d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 6 May 2022 01:10:22 +0200 Subject: [PATCH] - Set inittype on actSpawnDude() copied from NBlood commit 3fefdfa85bb86b5e8e951e886a6d13c769666215 --- source/games/blood/src/actor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/games/blood/src/actor.cpp b/source/games/blood/src/actor.cpp index 3ad29a7e0..76f674cff 100644 --- a/source/games/blood/src/actor.cpp +++ b/source/games/blood/src/actor.cpp @@ -6262,6 +6262,8 @@ DBloodActor* actSpawnDude(DBloodActor* source, int nType, int a3, int a4) y = source->spr.pos.Y + mulscale30r(Sin(angle), a3); } spawned->spr.type = nType; + if (!VanillaMode()) + spawned->spr.inittype = nType; spawned->spr.ang = angle; vec3_t pos = { x, y, z }; SetActor(spawned, &pos);