|
@@ -174,7 +174,7 @@ void AreaBullet::do_reload_body() {
|
|
void AreaBullet::set_space(SpaceBullet *p_space) {
|
|
void AreaBullet::set_space(SpaceBullet *p_space) {
|
|
// Clear the old space if there is one
|
|
// Clear the old space if there is one
|
|
if (space) {
|
|
if (space) {
|
|
- overlappingObjects.clear();
|
|
|
|
|
|
+ clear_overlaps(false);
|
|
isScratched = false;
|
|
isScratched = false;
|
|
|
|
|
|
// Remove this object form the physics world
|
|
// Remove this object form the physics world
|