mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
- SW: fixed two bad user assignments
This commit is contained in:
parent
a94f298600
commit
1c5fc16fa5
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue