[Commits] [wesnoth/wesnoth] 6222f1: [filter_vision]: fix bug of filter not matching ow...

GitHub noreply at github.com
Fri Oct 7 19:02:27 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6222f18ed22928705c002ffd7073e9b8451878b5
      https://github.com/wesnoth/wesnoth/commit/6222f18ed22928705c002ffd7073e9b8451878b5
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
    M src/units/filter.cpp

  Log Message:
  -----------
  [filter_vision]: fix bug of filter not matching own/allied hidden units

The vision filter should reflect whatever a player playing the
respective side would see. Previously, any unit with the hides ability
active was excluded from matching irrespective of what side it was on,
even though hidden units of both own and allied sides are always seen
(as long as they are not under shroud or fog when vision is not shared,
but that's covered separately).





More information about the Commits mailing list