added missing damagecount reset for opponent. this should fix odcount this turn value

This commit is contained in:
anthonycalosa@gmail.com
2012-12-29 14:25:49 +00:00
parent 0ebb151a66
commit 780afb6e0c

View File

@@ -197,6 +197,7 @@ void GameObserver::nextGamePhase()
{
cleanupPhase();
currentPlayer->damageCount = 0;
currentPlayer->opponent()->damageCount = 0; //added to clear odcount
currentPlayer->preventable = 0;
mLayers->actionLayer()->cleanGarbage(); //clean abilities history for this turn;
mLayers->stackLayer()->garbageCollect(); //clean stack history for this turn;