mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
allow trade when 7 tiles left, not 9
This commit is contained in:
parent
c2852734c4
commit
80f0e35755
1 changed files with 3 additions and 2 deletions
|
@ -2099,8 +2099,9 @@ MIN_TRADE_TILES( const BoardCtxt* board )
|
|||
{
|
||||
const DictionaryCtxt* dict = model_getDictionary( board->model );
|
||||
XP_LangCode langCode = dict_getLangCode( dict );
|
||||
/* 6 is Spanish, but I swear that's not defined anywhere! */
|
||||
return 6 == langCode ? 1 : MAX_TRAY_TILES;
|
||||
/* 6 is Spanish, but I swear that's not defined anywhere! (In Spanish, I'm
|
||||
told, you can trade until there are no tiles left.) */
|
||||
return 6 == langCode ? 1 : MIN_TRAY_TILES;
|
||||
}
|
||||
|
||||
/* Refuse with error message if any tiles are currently on board in this turn.
|
||||
|
|
Loading…
Reference in a new issue