[Commits] [wesnoth/wesnoth] 6858f3: fix crash on missing team flag data

GitHub noreply at github.com
Sun Sep 17 13:28:52 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6858f300237ee89302f43faa4ddd5893b0cc0b48
      https://github.com/wesnoth/wesnoth/commit/6858f300237ee89302f43faa4ddd5893b0cc0b48
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-09-17 (Sun, 17 Sep 2017)

  Changed paths:
    M src/display.cpp

  Log Message:
  -----------
  fix crash on missing team flag data

previously the application would crash to desktop neigher game data nor [side] provides a flag animation image.
I am not 100% sure whether simply not calling start_animation in that case is enoughe: in the worst case we should change it to a 'back to titlescreen' later, but this case is rare enough to go into master to be tested later.





More information about the Commits mailing list