You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Disable loop with CompatibilityTileData when building with deprecated=no
This commit is contained in:
@@ -1407,9 +1407,11 @@ TileSet::TileSet() {
|
||||
}
|
||||
|
||||
TileSet::~TileSet() {
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
for (Map<int, CompatibilityTileData *>::Element *E = compatibility_data.front(); E; E = E->next()) {
|
||||
memdelete(E->get());
|
||||
}
|
||||
#endif // DISABLE_DEPRECATED
|
||||
while (!source_ids.is_empty()) {
|
||||
remove_source(source_ids[0]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user