summaryrefslogtreecommitdiff
path: root/servers/physics_2d
diff options
context:
space:
mode:
authorJuan Linietsky <red@kyoko>2015-05-27 17:30:50 -0300
committerJuan Linietsky <red@kyoko>2015-05-27 17:30:50 -0300
commitf62961aba3d9e11d4741649a591217796151a46c (patch)
tree3328c0c47ced8e11fcd10f384ae446b8cb46f7f9 /servers/physics_2d
parent57a78ec06bccbb55a85c73891d88b983b4f01c94 (diff)
-fix bug in animation editor
-fix crash bug in physics motion, closes #1993
Diffstat (limited to 'servers/physics_2d')
-rw-r--r--servers/physics_2d/physics_2d_server_wrap_mt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/physics_2d_server_wrap_mt.h b/servers/physics_2d/physics_2d_server_wrap_mt.h
index 48382498ef..0ddc8f16ec 100644
--- a/servers/physics_2d/physics_2d_server_wrap_mt.h
+++ b/servers/physics_2d/physics_2d_server_wrap_mt.h
@@ -224,7 +224,7 @@ public:
bool body_test_motion(RID p_body,const Vector2& p_motion,float p_margin=0.001,MotionResult *r_result=NULL) {
ERR_FAIL_COND_V(main_thread!=Thread::get_caller_ID(),false);
- return body_test_motion(p_body,p_motion,p_margin,r_result);
+ return physics_2d_server->body_test_motion(p_body,p_motion,p_margin,r_result);
}
/* JOINT API */