[wesnoth-commits] [wesnoth/wesnoth] 7b39b6: fix [firststrike] special with apply_to=opponent c...
newfrenchy83
noreply at github.com
Tue Apr 5 19:53:09 UTC 2022
Branch: refs/heads/1.16
Home: https://github.com/wesnoth/wesnoth
Commit: 7b39b656063933de8e346364476874a2023c6803
https://github.com/wesnoth/wesnoth/commit/7b39b656063933de8e346364476874a2023c6803
Author: newfrenchy83 <31768074+newfrenchy83 at users.noreply.github.com>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
A data/test/maps/4p_single_castle.map
A data/test/scenarios/firststrike_and_laststrike.cfg
M src/units/abilities.cpp
M wml_test_schedule
Log Message:
-----------
fix [firststrike] special with apply_to=opponent crashes Wesnoth 1.16.x (#6573)
As reported on the forums at https://forums.wesnoth.org/viewtopic.php?p=672374#p672374, if a unit with "last strike" ([firststrike] special with apply_to=opponent, on any of its attacks) is targeted by other unit for attack, wesnoth crashes.
Fixes #6575.
More information about the Commits
mailing list