ERwan
-fix issue 297 - also removed the "untapBlockers" system. The idea was nice but incorrectly implemented, and only 2 cards were using it so far.
This commit is contained in:
@@ -81,7 +81,6 @@ void MTGCardInstance::copy(MTGCardInstance * card){
|
||||
|
||||
MTGCardInstance::~MTGCardInstance(){
|
||||
LOG("==Deleting MTGCardInstance==");
|
||||
SAFE_DELETE(untapBlockers);
|
||||
SAFE_DELETE(counters);
|
||||
SAFE_DELETE(previous);
|
||||
LOG("==Deleting MTGCardInstance Succesfull==");
|
||||
@@ -102,7 +101,6 @@ void MTGCardInstance::initMTGCI(){
|
||||
doDamageTest = 1;
|
||||
belongs_to=NULL;
|
||||
tapped = 0;
|
||||
untapBlockers = NULL;
|
||||
untapping = 0;
|
||||
summoningSickness = 1;
|
||||
target = NULL;
|
||||
@@ -159,11 +157,6 @@ int MTGCardInstance::removeType(int id, int removeAll){
|
||||
return result;
|
||||
}
|
||||
|
||||
UntapBlockers * MTGCardInstance::getUntapBlockers(){
|
||||
if (!untapBlockers) untapBlockers = NEW UntapBlockers();
|
||||
return untapBlockers;
|
||||
}
|
||||
|
||||
int MTGCardInstance::isInPlay(){
|
||||
GameObserver * game = GameObserver::GetInstance();
|
||||
for (int i = 0 ; i < 2 ; i++){
|
||||
|
||||
Reference in New Issue
Block a user