mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-28 23:12:36 +00:00
- 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:
parent
a36cb45421
commit
220c1f0e76
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue