Removed debug outputs
This commit is contained in:
parent
8d65c3b7f7
commit
cd0450f950
2 changed files with 0 additions and 2 deletions
|
@ -16,7 +16,6 @@ function patrol_gen(n, wp) -- n is the name of the unit, like Kiressh
|
|||
|
||||
return
|
||||
function()
|
||||
wesnoth.message("HEREE!!")
|
||||
x, y = unit.x, unit.y
|
||||
if (x == wp[wpn].x and y == wp[wpn].y) then
|
||||
wpn = wpn % wpcount + 1 -- advance by one waypoint(this construct loops in range [1, wpcount])
|
||||
|
|
|
@ -100,7 +100,6 @@ Gs^Fp , Gs^Fp , Wwf , Wwf , Mm , Rd
|
|||
|
||||
patrol_rark = patrol_gen("Rark", {{x=14, y=7}, {x=15, y=7}, {x=15, y=8}, {x=14, y=8}}) -- need to find a solution for this
|
||||
function patrol_eval_rark()
|
||||
wesnoth.message("BANG")
|
||||
return 1001
|
||||
end
|
||||
-- End of patrol function // patrol_gen(ai, "Rark", {{x=14, y=7}, {x=15, y=7}, {x=15, y=8}, {x=14, y=8}})
|
||||
|
|
Loading…
Add table
Reference in a new issue