- Fixed all the new warnings tossed out by GCC 4.3.
SVN r1047 (trunk)
This commit is contained in:
parent
9c6e40e192
commit
bb689ba3c9
16 changed files with 42 additions and 30 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue