[wesnoth-commits] [wesnoth/wesnoth] ba461b: fix segfault in abilities.cpp

gfgtdf noreply at github.com
Sat Apr 25 19:43:51 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ba461bd204fea393469f74120ca935a9755a0245
      https://github.com/wesnoth/wesnoth/commit/ba461bd204fea393469f74120ca935a9755a0245
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2020-04-25 (Sat, 25 Apr 2020)

  Changed paths:
    M src/units/abilities.cpp
    M src/units/attack_type.hpp

  Log Message:
  -----------
  fix segfault in abilities.cpp

when the defender doesn't counterattack the old code called
attack_type::special_active on a nullptr sometimes





More information about the Commits mailing list