diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp index 9a88b4692b6..8450a66f655 100644 --- a/modules/bullet/space_bullet.cpp +++ b/modules/bullet/space_bullet.cpp @@ -996,7 +996,7 @@ public: } void reset() { - result_collision_objects.empty(); + result_collision_objects.clear(); } };