Merge remote-tracking branch 'remotes/origin/master' into asmjit
This commit is contained in:
commit
b26b16e4b7
7 changed files with 28 additions and 8 deletions
|
|
@ -3570,9 +3570,9 @@ bool FSlide::BounceWall(AActor *mo)
|
|||
}
|
||||
line = bestslideline;
|
||||
|
||||
if (line->special == Line_Horizon)
|
||||
if (line->special == Line_Horizon || (mo->BounceFlags & BOUNCE_NotOnSky) && line->hitSkyWall(mo))
|
||||
{
|
||||
mo->SeeSound = 0; // it might make a sound otherwise
|
||||
mo->SeeSound = mo->BounceSound = 0; // it might make a sound otherwise
|
||||
mo->Destroy();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue