[wesnoth-commits] [wesnoth/wesnoth] a1810b: Game Events/Manager: skip disabled assertion if wr...

GitHub noreply at github.com
Wed Apr 11 02:09:13 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a1810bde32a95ae00827b5db5ac08f63d9907acb
      https://github.com/wesnoth/wesnoth/commit/a1810bde32a95ae00827b5db5ac08f63d9907acb
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2018-04-11 (Wed, 11 Apr 2018)

  Changed paths:
    M changelog.md
    M src/game_events/manager.cpp
    M src/game_events/manager.hpp
    M src/gui/dialogs/gamestate_inspector.cpp

  Log Message:
  -----------
  Game Events/Manager: skip disabled assertion if write_events is called mid-event

This reverts afaa75842c8914406bed75d3557ec241b0de9b6a and replaces it with a more general
no-assert-during-events check. This is because there are other instances besides [inspect]
where this function can be called mid-event, and it wouldn't be convenient to add nested
'strict' parameters to multiple functions just to handle them.

Fixes #2750.




More information about the Commits mailing list