[wesnoth-commits] [wesnoth/wesnoth] 1fe396: Game Events/Manager: skip disabled assertion if wr...
GitHub
noreply at github.com
Wed Apr 11 02:10:40 UTC 2018
Branch: refs/heads/1.14
Home: https://github.com/wesnoth/wesnoth
Commit: 1fe396309e10df46fa7a1524c1473397796b60a9
https://github.com/wesnoth/wesnoth/commit/1fe396309e10df46fa7a1524c1473397796b60a9
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