mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +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;
|
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();
|
||||||
|
|
Loading…
Reference in a new issue