summaryrefslogtreecommitdiffstats
path: root/modules/godot_physics_3d/godot_physics_server_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/godot_physics_3d/godot_physics_server_3d.cpp')
-rw-r--r--modules/godot_physics_3d/godot_physics_server_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/godot_physics_3d/godot_physics_server_3d.cpp b/modules/godot_physics_3d/godot_physics_server_3d.cpp
index 43f8d2658d..ad55e415e6 100644
--- a/modules/godot_physics_3d/godot_physics_server_3d.cpp
+++ b/modules/godot_physics_3d/godot_physics_server_3d.cpp
@@ -826,7 +826,7 @@ void GodotPhysicsServer3D::body_set_axis_lock(RID p_body, BodyAxis p_axis, bool
bool GodotPhysicsServer3D::body_is_axis_locked(RID p_body, BodyAxis p_axis) const {
const GodotBody3D *body = body_owner.get_or_null(p_body);
- ERR_FAIL_NULL_V(body, 0);
+ ERR_FAIL_NULL_V(body, false);
return body->is_axis_locked(p_axis);
}