Fixed a warning

This commit is contained in:
Olivier Teulière 2008-07-27 15:26:15 +00:00
parent 90badeca21
commit fa493d4135

View file

@ -280,7 +280,7 @@ int Game::helperSetRackRandom(unsigned int p, bool iCheck, set_rack_mode mode)
}
pld.resetNew();
}
else if (mode == RACK_NEW && nold == 0 || mode == RACK_ALL)
else if ((mode == RACK_NEW && nold == 0) || mode == RACK_ALL)
{
// Replace all the tiles in the bag before choosing random ones
vector<Tile> tiles;