diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp index 66326046d2b..c06c8c283d7 100644 --- a/modules/bullet/space_bullet.cpp +++ b/modules/bullet/space_bullet.cpp @@ -1021,7 +1021,7 @@ public: } void reset() { - result_collision_objects.empty(); + result_collision_objects.clear(); } };