summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-22 23:54:24 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-22 23:54:24 -0300
commit74081cdaaa74882928464120500b3243f3255daf (patch)
treec208d506d8705a81c76aae4fb8f03e5e4f4f2034 /servers
parent6154cff93fb16e94479ce93da6a94a525640aa50 (diff)
parent839d69502c5c1769c662bb353e0f6db3517e2de2 (diff)
Merge pull request #2090 from volzhs/pmr_virtual
fix register Physics2DTestMotionResult not virtual
Diffstat (limited to 'servers')
-rw-r--r--servers/register_server_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/register_server_types.cpp b/servers/register_server_types.cpp
index d35b6e1e5f..3634a03dbc 100644
--- a/servers/register_server_types.cpp
+++ b/servers/register_server_types.cpp
@@ -55,7 +55,7 @@ void register_server_types() {
ObjectTypeDB::register_virtual_type<Physics2DDirectBodyState>();
ObjectTypeDB::register_virtual_type<Physics2DDirectSpaceState>();
ObjectTypeDB::register_virtual_type<Physics2DShapeQueryResult>();
- ObjectTypeDB::register_virtual_type<Physics2DTestMotionResult>();
+ ObjectTypeDB::register_type<Physics2DTestMotionResult>();
ObjectTypeDB::register_type<Physics2DShapeQueryParameters>();
ObjectTypeDB::register_type<PhysicsShapeQueryParameters>();