[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/duplicate.cpp
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/duplicate.cpp |
Date: |
Sat, 05 Nov 2005 18:22:43 -0500 |
Index: eliot/game/duplicate.cpp
diff -u eliot/game/duplicate.cpp:1.10 eliot/game/duplicate.cpp:1.11
--- eliot/game/duplicate.cpp:1.10 Fri Nov 4 20:00:06 2005
+++ eliot/game/duplicate.cpp Sat Nov 5 23:22:42 2005
@@ -77,7 +77,7 @@
ASSERT(!m_players[n]->isHuman(), "AI requested for a human player");
AIPlayer *player = static_cast<AIPlayer*>(m_players[n]);
- player->compute(*m_dic, m_board, getNRounds());
+ player->compute(*m_dic, m_board, getNTurns());
if (player->changesLetters())
{
@@ -182,7 +182,7 @@
/* Update the rack and the score of the current player */
player->addPoints(iRound.getPoints());
- player->endTurn(iRound, getNRounds());
+ player->endTurn(iRound, getNTurns());
m_hasPlayed[n] = true;
}