Daddy32 - Fix for issue 196.

This commit is contained in:
d32.wagic
2009-11-18 20:37:42 +00:00
parent ad5aa10ed6
commit 46e21fb94d
2 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,6 @@
#include "../include/Translate.h"
#include "../include/ManaCostHybrid.h"
#include "../include/MTGCardInstance.h"
#include "../include/MTGCardInstance.h"
#include <vector>
@@ -1008,7 +1007,6 @@ void GameStateDeckViewer::updateStats() {
stw.countLands = myDeck->getCount(Constants::MTG_COLOR_LAND);
stw.totalPrice = myDeck->totalPrice();
stw.countManaProducers = 0;
stw.countManaProducers = 0;
// Mana cost
int currentCount, convertedCost;

View File

@@ -2096,8 +2096,10 @@ ostream& ListMaintainerAbility::toString(ostream& out) const
TriggerAtPhase::TriggerAtPhase(int id, MTGCardInstance * source, Targetable * target,int _phaseId, int who):TriggeredAbility(id, source,target),phaseId(_phaseId),who(who){
GameObserver * g = GameObserver::GetInstance();
newPhase = g->getCurrentGamePhase();
currentPhase = newPhase;
if (g) {
newPhase = g->getCurrentGamePhase();
currentPhase = newPhase;
}
}
int TriggerAtPhase::trigger(){