mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
- fixed compile warning
This commit is contained in:
parent
099b278f18
commit
d7bb1726ab
1 changed files with 1 additions and 1 deletions
|
@ -3570,7 +3570,7 @@ bool FSlide::BounceWall(AActor *mo)
|
|||
}
|
||||
line = bestslideline;
|
||||
|
||||
if (line->special == Line_Horizon || (mo->BounceFlags & BOUNCE_NotOnSky) && line->hitSkyWall(mo))
|
||||
if (line->special == Line_Horizon || ((mo->BounceFlags & BOUNCE_NotOnSky) && line->hitSkyWall(mo)))
|
||||
{
|
||||
mo->SeeSound = mo->BounceSound = 0; // it might make a sound otherwise
|
||||
mo->Destroy();
|
||||
|
|
Loading…
Reference in a new issue