[Commits] [wesnoth/wesnoth] ec1cb5: Avoid loading terrain minimap images when not spec...

GitHub noreply at github.com
Tue Oct 20 00:32:24 UTC 2015


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ec1cb54aa3b3b713da2e6e9d9c64ea99e568f69f
      https://github.com/wesnoth/wesnoth/commit/ec1cb54aa3b3b713da2e6e9d9c64ea99e568f69f
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M changelog
    M src/builder.cpp
    M src/minimap.cpp

  Log Message:
  -----------
  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.





More information about the Commits mailing list