mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
robots can be given picked tiles too
This commit is contained in:
parent
b229549323
commit
712cb0b50d
1 changed files with 3 additions and 2 deletions
|
@ -1282,8 +1282,9 @@ fetchTiles( ServerCtxt* server, XP_U16 playerNum, XP_U16 nToFetch,
|
||||||
|
|
||||||
XP_ASSERT( !!pool );
|
XP_ASSERT( !!pool );
|
||||||
#ifdef FEATURE_TRAY_EDIT
|
#ifdef FEATURE_TRAY_EDIT
|
||||||
ask = !server->vol.gi->players[playerNum].isRobot
|
ask = server->vol.gi->allowPickTiles
|
||||||
&& server->vol.gi->allowPickTiles;
|
&& (!server->vol.gi->players[playerNum].isRobot
|
||||||
|
|| server->vol.gi->allowPickTilesRobot);
|
||||||
#else
|
#else
|
||||||
ask = XP_FALSE;
|
ask = XP_FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue