forked from mirrors/0ad
81dfd51eb3
Previously, opening a map that referenced a deleted or missing terrain caused a severe crash with multiple error dialogs, forcing users to kill the process. This change restores the previous behavior where missing terrains are gracefully handled: a warning is logged and the terrain is substituted with a fallback placeholder (ErrorTexture from TextureManager). This significantly improves UX for developers and modders working with outdated or broken maps, aligning behavior with expectations from earlier versions of the editor.