Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid loading terrain minimap images when not specified by WML
Otherwise we build a bogus "terrain/.png" file path and produce spurious `error display: could not open image 'terrain/.png'` messages in stderr. Although this is primarily an issue found with certain special overlay terrains such as ^Xo (Impassable Overlay), this fix covers base terrains as well.
- Loading branch information
Showing
2 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters