- modified gameOver to be protected and defined two new operations to do the same thing (didWin and setLoser)
- removed ACTION_LOGGING_TESTING code - Fixed AIvsAI games multithreaded games - Activated undo when testsuite is enable - Defined an initial player comparison operator - Fixed multi-threaded modification to subtypes - Fixed gameTurn cleanup for gameObserver reuse
This commit is contained in:
@@ -221,7 +221,7 @@ void MTGPlayerCards::drawFromLibrary()
|
||||
return;
|
||||
}
|
||||
|
||||
library->owner->getObserver()->gameOver = library->owner;
|
||||
library->owner->getObserver()->setLoser(library->owner);
|
||||
return;
|
||||
}
|
||||
MTGCardInstance * toMove = library->cards[library->nb_cards - 1];
|
||||
|
||||
Reference in New Issue
Block a user