[Commits] [wesnoth/wesnoth] daceb4: fix filters using this_unit in [hides]
GitHub
noreply at github.com
Fri Sep 22 19:03:07 UTC 2017
Branch: refs/heads/gfgtdf-patch_filter_this_unit
Home: https://github.com/wesnoth/wesnoth
Commit: daceb438cbee7eb837972c61b53ef5b975ca234d
https://github.com/wesnoth/wesnoth/commit/daceb438cbee7eb837972c61b53ef5b975ca234d
Author: gfgtdf <daniel.gfgtdf at gmail.com>
Date: 2017-09-22 (Fri, 22 Sep 2017)
Changed paths:
M src/units/filter.cpp
Log Message:
-----------
fix filters using this_unit in [hides]
args.loc is the location we use for 'filter as if the unit woudl be there', still the unit is curently at args.u.get_location() so to make scoped_xy_unit find the unit we have to give args.u.get_location()
More information about the Commits
mailing list