Author: nephro
Date: Thu Jun 30 16:54:08 2011
New Revision: 50096
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50096&view=rev
Log:
Removed debug outputs
Modified:
trunk/data/ai/lua/patrol.lua
trunk/data/ai/scenarios/scenario-lua-ai.cfg
Modified: trunk/data/ai/lua/patrol.lua
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/lua/patrol.lua?rev=50096&r1=50095&r2=50096&view=diff
==============================================================================
--- trunk/data/ai/lua/patrol.lua (original)
+++ trunk/data/ai/lua/patrol.lua Thu Jun 30 16:54:08 2011
@@ -16,7 +16,6 @@
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])
Modified: trunk/data/ai/scenarios/scenario-lua-ai.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/scenarios/scenario-lua-ai.cfg?rev=50096&r1=50095&r2=50096&view=diff
==============================================================================
--- trunk/data/ai/scenarios/scenario-lua-ai.cfg (original)
+++ trunk/data/ai/scenarios/scenario-lua-ai.cfg Thu Jun 30 16:54:08 2011
@@ -100,7 +100,6 @@
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}})
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits