Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/wesnoth/wesnoth
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Nov 22, 2014
2 parents ba4276e + f111bf3 commit db7643c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion changelog
Expand Up @@ -12,6 +12,7 @@ Version 1.13.0-dev:
[filter_second] and invert_order=
* Coward Micro AI: new optional key attack_if_trapped=
* Stationed Guardian Micro AI: make guard_x/y= optional keys
* Stationed Guardian Micro AI: bug fix for unreachable stations
* Messenger Escort Micro AI: bug fix for escort units blocking messenger's
progress
* Lurkers Micro AI: fix bug in wander terrain selection
Expand Down Expand Up @@ -410,7 +411,7 @@ Version 1.13.0-dev:
* Image path function ~ADJUST_ALPHA added. Takes either a % or an 8-bit integer, and "multiplies"
the alpha channel by this.
* Multiplayer server can now handle scenarios with more than 9 sides
* [modify_side] controller= now works in networked mp. If a null-controlled side becomes alive by
* [modify_side] controller= now works in networked mp. If a null-controlled side becomes alive by
[modify_side] controller=ai/human then the currently active client will be assiged controll

Version 1.11.11:
Expand Down
4 changes: 4 additions & 0 deletions data/ai/micro_ais/cas/ca_stationed_guardian.lua
Expand Up @@ -97,6 +97,10 @@ function ca_stationed_guardian:execution(ai, cfg)
-- If no enemy is within the target zone, move toward station position
else
local nh = AH.next_hop(guardian, cfg.station_x, cfg.station_y)
if not nh then
nh = { guardian.x, guardian.y }
end

AH.movefull_stopunit(ai, guardian, nh)
end

Expand Down

0 comments on commit db7643c

Please sign in to comment.