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

GitHub noreply at github.com
Tue Oct 20 00:33:10 UTC 2015


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

  Changed paths:
    M src/minimap.cpp
    M src/terrain_builder.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