-fix issue 146
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-11-03 10:31:57 +00:00
parent d2bcb90799
commit 60e9b2c1df
5 changed files with 3 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ int AIStats::receiveEvent(WEvent * event){
WEventDamage * e = dynamic_cast<WEventDamage *>(event);
if (!e) return 0; //we take only Damage events into accountright now
Damage * damage = e->damage;
MTGGameZone * opponentZone = player->opponent()->game->inPlay;
MTGGameZone * opponentZone = player->opponent()->game->inPlay;
MTGCardInstance * card = damage->source;
updateStatsCard(card,damage);