diff --git a/src/Scenery/tileentry.cxx b/src/Scenery/tileentry.cxx index c4af8ca54..7df08fa74 100644 --- a/src/Scenery/tileentry.cxx +++ b/src/Scenery/tileentry.cxx @@ -114,6 +114,7 @@ FGTileEntry::free_tile() FG_LOG( FG_TERRAIN, FG_DEBUG, "Found a kid to delete " << kid); found_kid = true; + parent->removeKid( i ); } } if ( ! found_kid ) {