Patch from Erwin Coumans: Abstract the physics engine.

Reenable ODE in the physics engine buttons.
This commit is contained in:
2005-03-25 10:35:31 +00:00
parent c844aa265a
commit cf30d9443d
2 changed files with 4 additions and 3 deletions

View File

@@ -2498,8 +2498,9 @@ void logic_buts(void)
uiBlockSetCol(block, TH_BUT_SETTING2);
if(wrld) {
if (wrld->physicsEngine == 1) buttons_enji(block, ob);
if ( (wrld->physicsEngine == 4) || (wrld->physicsEngine == 2) )
if
(wrld->physicsEngine == 1) buttons_enji(block, ob);
else
buttons_ketsji(block, ob);
}
else buttons_ketsji(block, ob);