- Fixed all the new warnings tossed out by GCC 4.3.

SVN r1047 (trunk)
This commit is contained in:
Randy Heit 2008-06-25 22:16:04 +00:00
commit bb689ba3c9
16 changed files with 42 additions and 30 deletions

View file

@ -394,7 +394,7 @@ int P_GetFriction (const AActor *mo, int *frictionfactor)
{
friction = FRICTION_FLY;
}
else if (!(mo->flags & MF_NOGRAVITY) && mo->waterlevel > 1 ||
else if ((!(mo->flags & MF_NOGRAVITY) && mo->waterlevel > 1) ||
(mo->waterlevel == 1 && mo->z > mo->floorz + 6*FRACUNIT))
{
friction = secfriction (mo->Sector);