From 18c70ec187fc334c0520253f3e2a4e55c42a0dfe Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Mon, 7 Feb 2011 13:48:27 +0000 Subject: [PATCH] found the cause of the loop in inkmoth, it has to do with the way manaproducers set thier "needsTapping" depending on the way the ability is called, it can set it 3 ways, {t}<--sets only the manaproducers "tap" and completely ignores the "doTap" which is the way actiavted mana producers call it. --- projects/mtg/src/AIPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/AIPlayer.cpp b/projects/mtg/src/AIPlayer.cpp index 946bbe404..c4d59943e 100644 --- a/projects/mtg/src/AIPlayer.cpp +++ b/projects/mtg/src/AIPlayer.cpp @@ -124,7 +124,7 @@ bool AIPlayer::tapLandsForMana(ManaCost * cost, MTGCardInstance * target) break; } } - if (doTap) + if (doTap || amp->tap) { AIAction * action = NEW AIAction(amp, card); clickstream.push(action);