summaryrefslogtreecommitdiff
path: root/servers/physics/collision_object_sw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics/collision_object_sw.cpp')
-rw-r--r--servers/physics/collision_object_sw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics/collision_object_sw.cpp b/servers/physics/collision_object_sw.cpp
index dc0b2fc84f..d673088304 100644
--- a/servers/physics/collision_object_sw.cpp
+++ b/servers/physics/collision_object_sw.cpp
@@ -208,7 +208,7 @@ CollisionObjectSW::CollisionObjectSW(Type p_type) {
type = p_type;
space = NULL;
instance_id = 0;
- layer_mask = 1;
+ collision_layer = 1;
collision_mask = 1;
ray_pickable = true;
}