summaryrefslogtreecommitdiff
path: root/servers/physics_2d/godot_collision_solver_2d_sat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics_2d/godot_collision_solver_2d_sat.cpp')
-rw-r--r--servers/physics_2d/godot_collision_solver_2d_sat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/godot_collision_solver_2d_sat.cpp b/servers/physics_2d/godot_collision_solver_2d_sat.cpp
index ded3ff356b..d758d1e3b1 100644
--- a/servers/physics_2d/godot_collision_solver_2d_sat.cpp
+++ b/servers/physics_2d/godot_collision_solver_2d_sat.cpp
@@ -33,7 +33,7 @@
#include "core/math/geometry_2d.h"
struct _CollectorCallback2D {
- GodotCollisionSolver2D::CallbackResult callback;
+ GodotCollisionSolver2D::CallbackResult callback = nullptr;
void *userdata = nullptr;
bool swap = false;
bool collided = false;