Game: remove a TODO

This commit is contained in:
Olivier Teulière 2013-01-09 17:19:53 +01:00
parent 0cdc2b7ab4
commit 7a6ca367fb

View file

@ -308,9 +308,11 @@ PlayedRack Game::helperSetRackRandom(const PlayedRack &iPld,
vector<Tile> tiles; vector<Tile> tiles;
pld.getOldTiles(tiles); pld.getOldTiles(tiles);
// The rack is already complete, there is nothing to do // The rack is already complete, there is nothing to do
// TODO: add a log here
if (tiles.size() >= RACK_SIZE) if (tiles.size() >= RACK_SIZE)
{
LOG_DEBUG("Rack already complete, nothing to do");
return iPld; return iPld;
}
bool jokerAdded = false; bool jokerAdded = false;
// Are we dealing with a normal game or a joker game? // Are we dealing with a normal game or a joker game?