Changed the physics menu to expect a pointer to an int for

&wrld->physicsEngine instead of a pointer to a short.

car: please rebuild and test.

Kester: please check the entries/values in the physics menu (they
differ from the values in tuhopuu).
This commit is contained in:
Chris Want
2004-04-02 22:18:36 +00:00
parent ce9a3d0b46
commit 34ecd03f7d

View File

@@ -1531,8 +1531,10 @@ static void world_panel_mistaph(World *wrld)
uiSetButLock(wrld->id.lib!=0, "Can't edit library data");
#if GAMEBLENDER == 1
uiDefBut(block, MENU|SHO, 1, "Physics %t|None %x1|Sumo %x2|ODE %x3 |Dynamo %x4|",
10,180,140,19, &wrld->physicsEngine, 0, 0, 0, 0, "Physics Engine");
uiDefButI(block, MENU, 1,
"Physics %t|None %x1|Sumo %x2|ODE %x3 |Dynamo %x4|",
10,180,140,19, &wrld->physicsEngine, 0, 0, 0, 0,
"Physics Engine");
/* Gravitation for the game worlds */
uiDefButF(block, NUMSLI,0, "Grav ", 150,180,150,19, &(wrld->gravity), 0.0, 25.0, 0, 0, "Sets the gravitation constant of the game world");