From 80f0e3575505caa93b6e9f4f53bf632f30e7c241 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 24 Aug 2021 07:14:05 -0700 Subject: [PATCH] allow trade when 7 tiles left, not 9 --- xwords4/common/board.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwords4/common/board.c b/xwords4/common/board.c index c92af478b..1ae3853ad 100644 --- a/xwords4/common/board.c +++ b/xwords4/common/board.c @@ -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.