[wesnoth-commits] [wesnoth/wesnoth] 52b13f: small pathfind optimisation

gfgtdf noreply at github.com
Sat Apr 18 00:00:45 UTC 2020


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

  Changed paths:
    M src/pathfind/teleport.cpp

  Log Message:
  -----------
  small pathfind optimisation
removes a call to get_ability_bool, in case that get_ability_bool
would return false, it would not be faster than get_abilities, in
case that it returns true it is useless.





More information about the Commits mailing list