[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/training.cpp
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/training.cpp |
Date: |
Sat, 05 Nov 2005 18:22:44 -0500 |
Index: eliot/game/training.cpp
diff -u eliot/game/training.cpp:1.10 eliot/game/training.cpp:1.11
--- eliot/game/training.cpp:1.10 Sat Nov 5 15:48:59 2005
+++ eliot/game/training.cpp Sat Nov 5 23:22:42 2005
@@ -51,7 +51,7 @@
/* Update the rack and the score of the current player */
m_players[m_currPlayer]->addPoints(round.getPoints());
- m_players[m_currPlayer]->endTurn(round, getNRounds());
+ m_players[m_currPlayer]->endTurn(round, getNTurns());
/* Everything is OK, we can play the word */
helperPlayRound(round);
@@ -126,7 +126,7 @@
// Search for the current player
Rack r;
m_players[m_currPlayer]->getCurrentRack().getRack(r);
- m_results.search(*m_dic, m_board, r, getNRounds());
+ m_results.search(*m_dic, m_board, r, getNTurns());
}
@@ -139,7 +139,7 @@
/* Update the rack and the score of the current player */
player->addPoints(round.getPoints());
- player->endTurn(round, getNRounds());
+ player->endTurn(round, getNTurns());
int res = helperPlayRound(round);