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

@@ -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(){