- SW: fixed bad user in SpawnSplash

This commit is contained in:
Christoph Oelckers 2021-12-25 21:27:36 +01:00
parent d1c6c783a6
commit 2d7c085617

View file

@ -18230,7 +18230,7 @@ int SpawnSplash(DSWActor* actor)
auto actorNew = SpawnActor(STAT_MISSILE, SPLASH, s_Splash, sp->sectnum, sp->x, sp->y, u->loz, sp->ang, 0);
wp = &actorNew->s();
wu = actor->u();
wu = actorNew->u();
if (sectu && TEST(sectp->extra, SECTFX_LIQUID_MASK) == SECTFX_LIQUID_LAVA)
wu->spal = wp->pal = PALETTE_RED_LIGHTING;