ai/ai.c
changeset 3491 4c8427796c64
parent 2817 58dcead3f545
child 3692 01468bf49e8b
--- a/ai/ai.c	Sun Apr 09 18:35:24 2006 +0000
+++ b/ai/ai.c	Mon Apr 10 07:15:58 2006 +0000
@@ -96,7 +96,7 @@
 		tmp_cmdtext = strdup(_cmd_text);
 
 	/* First, do a test-run to see if we can do this */
-	res = DoCommandByTile(tile, p1, p2, flags & ~DC_EXEC, procc);
+	res = DoCommand(tile, p1, p2, flags & ~DC_EXEC, procc);
 	/* The command failed, or you didn't want to execute, or you are quering, return */
 	if ((CmdFailed(res)) || !(flags & DC_EXEC) || (flags & DC_QUERY_COST)) {
 		if (tmp_cmdtext != NULL)