- fixed compile warning

This commit is contained in:
Christoph Oelckers 2018-12-03 09:14:11 +01:00
parent 099b278f18
commit d7bb1726ab

View file

@ -3570,7 +3570,7 @@ bool FSlide::BounceWall(AActor *mo)
} }
line = bestslideline; 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->SeeSound = mo->BounceSound = 0; // it might make a sound otherwise
mo->Destroy(); mo->Destroy();