- Fix issue 291 (cantbeblockedby segfault)
- Fix some issues with pricing
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-03-13 09:34:20 +00:00
parent fa0d98988d
commit e7bb2caf29
4 changed files with 13 additions and 6 deletions

View File

@@ -1212,6 +1212,7 @@ class AProtectionFrom: public MTGAbility{
AProtectionFrom * clone() const{
AProtectionFrom * a = NEW AProtectionFrom(*this);
a->fromTc = fromTc->clone();
a->isClone = 1;
return a;
}
@@ -1244,6 +1245,7 @@ class ACantBeBlockedBy: public MTGAbility{
ACantBeBlockedBy * clone() const{
ACantBeBlockedBy * a = NEW ACantBeBlockedBy(*this);
a->fromTc = fromTc->clone();
a->isClone = 1;
return a;
}

View File

@@ -126,6 +126,7 @@ private:
string newDeckname;
StatsWrapper stw;
bool mSwitching;
void saveDeck(); //Saves the deck and additional necessary information
public:
GameStateDeckViewer(GameApp* parent);