code cleanup. No code changes

- removed unused variables
- added line breaks between methods (not everywhere just where i saw it while removing unused variables)
This commit is contained in:
techdragon.nguyen@gmail.com
2011-01-16 07:49:34 +00:00
parent a79164e800
commit 1be97b76f8
22 changed files with 83 additions and 83 deletions
+9 -4
View File
@@ -3216,21 +3216,24 @@ public:
AResetCost(int id, MTGCardInstance * source, MTGCardInstance * target) :
MTGAbility(id, source, target)
{
MTGCardInstance * _target = (MTGCardInstance *) target;
}
int addToGame()
{
MTGCardInstance * _target = (MTGCardInstance *) target;
_target->controller()->game->putInZone(_target, _target->controller()->game->hand, _target->controller()->game->hand);
return MTGAbility::addToGame();
}
AResetCost * clone() const
AResetCost * clone() const
{
AResetCost * a = NEW AResetCost(*this);
a->isClone = 1;
return a;
}
~AResetCost()
~AResetCost()
{
}
};
@@ -3242,8 +3245,8 @@ public:
ABloodThirst(int id, MTGCardInstance * source, MTGCardInstance * target, int amount) :
MTGAbility(id, source, target), amount(amount)
{
MTGCardInstance * _target = (MTGCardInstance *) target;
}
int addToGame()
{
MTGCardInstance * _target = (MTGCardInstance *) target;
@@ -3257,12 +3260,14 @@ public:
}
return MTGAbility::addToGame();
}
ABloodThirst * clone() const
{
ABloodThirst * a = NEW ABloodThirst(*this);
a->isClone = 1;
return a;
}
~ABloodThirst()
{
}