Removed debug outputs

This commit is contained in:
Dmitry Kovalenko 2011-06-30 14:54:08 +00:00
parent 8d65c3b7f7
commit cd0450f950
2 changed files with 0 additions and 2 deletions

View file

@ -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])

View file

@ -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}})