re-added a line which was removed in r4000, when ai is forced to "chooseCard" through the effects of "choice " or "target(" and a valid target exist, we run into a lock down becuase we don't switch playerZones to the other players game after the first run of the playerZone...the TC will see that there is indeed a valid target however, since it can not target the other side it will contenue to try over and over, locking it up.

This commit is contained in:
omegablast2002@yahoo.com
2011-10-10 14:34:55 +00:00
parent e3d0ab8ba0
commit e1620c0a5f

View File

@@ -634,6 +634,8 @@ MTGCardInstance * AIPlayerBaka::chooseCard(TargetChooser * tc, MTGCardInstance *
}
}
}
//switch player->zones to the other player and check there if we haven't found one yet.
playerZones = source->controller()->opponent()->game;
}
return NULL;
}