Merge branch 'master' of https://github.com/wesnoth/wesnoth
This commit is contained in:
commit
db7643c253
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue