fixed a error in parent push back for equips, and using card which was casted, instead of target....minor tweak

This commit is contained in:
omegablast2002@yahoo.com
2011-09-11 09:39:57 +00:00
parent 89d6936eb0
commit a36b69cdb1
2 changed files with 3 additions and 3 deletions

View File

@@ -1469,7 +1469,7 @@ bool ParentChildChooser::canTarget(Targetable * target,bool withoutProtections)
for(unsigned int w = 0;w < source->childrenCards.size();w++)
{
MTGCardInstance * child = source->childrenCards[w];
if(child == target)
if(child == card)
{
if(deeperTargeting)
{
@@ -1487,7 +1487,7 @@ bool ParentChildChooser::canTarget(Targetable * target,bool withoutProtections)
for(unsigned int w = 0;w < source->parentCards.size();w++)
{
MTGCardInstance * parent = source->parentCards[w];
if(parent == target)
if(parent == card)
{
if(deeperTargeting)
{