[Commits] [wesnoth/wesnoth] 1a25d2: Don't duplicate recall count decrement when undoin...

GitHub noreply at github.com
Fri Sep 16 11:54:17 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1a25d297b81dead1fd0e6e3c5b5da8d5caea6254
      https://github.com/wesnoth/wesnoth/commit/1a25d297b81dead1fd0e6e3c5b5da8d5caea6254
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2016-09-16 (Fri, 16 Sep 2016)

  Changed paths:
    M changelog
    M src/statistics.cpp

  Log Message:
  -----------
  Don't duplicate recall count decrement when undoing a recall (bug #25060)

Looks like un_recall_unit_cost() is used to retrieve the unit cost of the recalled unit but it also decrements the recall count, duplicating the decrement in un_recall_unit().





More information about the Commits mailing list