[ODE] dBodyGetGravityMode() patch

Russ Smith russ at q12.org
Wed Sep 11 22:07:51 2002


> in ode.cpp, i think dBodyGetGravityMode() has the test inverted. 
> since mode==1 means that the dxBodyNoGravity flag is cleared, the test
> should be "((b->flags & dxBodyNoGravity) == 0)".

right you are ... fixed in CVS. i wish all bug fixed were 1 character.

russ.

-- 
Russell Smith
http://www.q12.org