mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-19 06:11:19 +00:00
- final wall not related to hitscan/neartag.
This commit is contained in:
parent
f0dd018ad4
commit
33b3864d14
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue