summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2015-06-15 08:57:14 +0900
committervolzhs <volzhs@gmail.com>2015-06-15 08:57:14 +0900
commit839d69502c5c1769c662bb353e0f6db3517e2de2 (patch)
treee77fe4206f9d6c049fc8b5089ea0f44f1c43f8ed
parentbc6d91c8973619a6c4ce54a140197ba93d184cec (diff)
fix register Physics2DTestMotionResult
-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>();