setting Tc->targetter to Null on countByCanTarget() the functions that call this don't care about protection, it is used to find a number of objects which are considered valid even with protections to the source. thanks Dopple for finding this bug.
This commit is contained in:
@@ -531,7 +531,7 @@ unsigned int MTGGameZone::countByCanTarget(TargetChooser * tc)
|
|||||||
{
|
{
|
||||||
if(!tc)
|
if(!tc)
|
||||||
return 0;
|
return 0;
|
||||||
|
tc->targetter = NULL;//becuase we are counting what can be targeted by this TC, we don't care if cards have protection.
|
||||||
int result = 0;
|
int result = 0;
|
||||||
for (int i = 0; i < (nb_cards); i++)
|
for (int i = 0; i < (nb_cards); i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user