- final wall not related to hitscan/neartag.

This commit is contained in:
Christoph Oelckers 2021-11-24 22:16:35 +01:00
parent f0dd018ad4
commit 33b3864d14
2 changed files with 2 additions and 2 deletions

View file

@ -2774,7 +2774,7 @@ void DoPanning(void)
while (auto actor = it.Next())
{
sp = &actor->s();
wallp = &wall[sp->owner];
wallp = actor->tempwall;
nx = MulScale(sp->xvel, bcos(sp->ang), 20);
ny = MulScale(sp->xvel, bsin(sp->ang), 20);

View file

@ -1956,7 +1956,7 @@ void SpriteSetup(void)
break;
}
sp->owner = hitinfo.wall;
actor->tempwall = &wall[hitinfo.wall];
// if moves with SO
if (TEST_BOOL1(sp))
sp->xvel = 0;