- make sure the RPG's start spund plays.

This fix is just a temporary workaround due to the incomplete scriptfication
This commit is contained in:
Christoph Oelckers 2023-01-04 20:20:10 +01:00
parent a36cb45421
commit 220c1f0e76
2 changed files with 2 additions and 0 deletions

View file

@ -701,6 +701,7 @@ static void shootrpg(DDukeActor *actor, int p, DVector3 pos, DAngle ang, int atw
auto spawned = CreateActor(sect, pos.plusZ(-1) + offset, atwith, 0, DVector2(0.21875, 0.21875), ang, vel, zvel, actor, 4); auto spawned = CreateActor(sect, pos.plusZ(-1) + offset, atwith, 0, DVector2(0.21875, 0.21875), ang, vel, zvel, actor, 4);
if (!spawned) return; if (!spawned) return;
CallInitialize(spawned);
if (p >= 0) if (p >= 0)
{ {

View file

@ -595,6 +595,7 @@ static void shootrpg(DDukeActor* actor, int p, DVector3 pos, DAngle ang, int atw
auto spawned = CreateActor(sect, pos.plusZ(-1) + offset, atwith, 0, DVector2(0.21875, 0.21875), ang, vel, zvel, actor, 4); auto spawned = CreateActor(sect, pos.plusZ(-1) + offset, atwith, 0, DVector2(0.21875, 0.21875), ang, vel, zvel, actor, 4);
if (!spawned) return; if (!spawned) return;
CallInitialize(spawned);
if (p >= 0) if (p >= 0)
{ {