- SW: fixed two bad user assignments

This commit is contained in:
Christoph Oelckers 2021-12-25 19:54:45 +01:00
parent a94f298600
commit 1c5fc16fa5
2 changed files with 2 additions and 2 deletions

View file

@ -1700,7 +1700,7 @@ void SpawnFlashBombOnActor(DSWActor* actor)
auto actorNew = SpawnActor(STAT_MISSILE, FIREBALL_FLAMES, s_FireballFlames, sp->sectnum,
sp->x, sp->y, sp->z, sp->ang, 0);
auto np = &actorNew->s();
auto nu = actor->u();
auto nu = actorNew->u();
if (u->flameActor != nullptr)
u->flameActor = actorNew;

View file

@ -1253,7 +1253,7 @@ void Ripper2Hatch(DSWActor* actor)
np->pal = 0;
np->shade = -10;
SetupRipper2(actorNew);
nu = actor->u();
nu = actorNew->u();
// make immediately active
SET(nu->Flags, SPR_ACTIVE);