Merge branch 'master' into cmake
This commit is contained in:
@@ -759,9 +759,10 @@ int TapTargetCost::isPaymentSet()
|
||||
int TapTargetCost::doPay()
|
||||
{
|
||||
MTGCardInstance * _target = (MTGCardInstance *) target;
|
||||
source->storedCard = target->createSnapShot();
|
||||
|
||||
if (target)
|
||||
{
|
||||
source->storedCard = target->createSnapShot();
|
||||
_target->tap();
|
||||
target = NULL;
|
||||
if (tc)
|
||||
@@ -802,9 +803,10 @@ int UnTapTargetCost::isPaymentSet()
|
||||
int UnTapTargetCost::doPay()
|
||||
{
|
||||
MTGCardInstance * _target = (MTGCardInstance *) target;
|
||||
source->storedCard = target->createSnapShot();
|
||||
|
||||
if (target)
|
||||
{
|
||||
source->storedCard = target->createSnapShot();
|
||||
_target->untap();
|
||||
target = NULL;
|
||||
if (tc)
|
||||
|
||||
Reference in New Issue
Block a user