mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Set inittype on actSpawnDude()
copied from NBlood commit 3fefdfa85bb86b5e8e951e886a6d13c769666215
This commit is contained in:
parent
ca423e15f0
commit
1e356741f9
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue