Daddy32 - Fix for issue 196.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user