summaryrefslogtreecommitdiff
path: root/src/ode/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ode/setup.c')
-rw-r--r--src/ode/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ode/setup.c b/src/ode/setup.c
index 3655b1e..4785de2 100644
--- a/src/ode/setup.c
+++ b/src/ode/setup.c
@@ -58,6 +58,10 @@ void setup_ode(lua_State *L, int honey_tbl)
ode_push_space(L, 0);
lua_setfield(L, ode_tbl, "Space0");
+ /* add null body */
+ ode_push_body(L, 0);
+ lua_setfield(L, ode_tbl, "Body0");
+
lua_setfield(L, honey_tbl, "ode");
}