mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
fix mis-reporting number of tiles traded
This commit is contained in:
parent
7d869a6bda
commit
5e028281de
1 changed files with 3 additions and 2 deletions
|
@ -1479,9 +1479,10 @@ makeRobotMove( ServerCtxt* server, XWEnv xwe )
|
|||
|
||||
if ( !!stream ) {
|
||||
XP_UCHAR buf[64];
|
||||
XP_U16 nTrayTiles = gi->traySize;
|
||||
str = dutil_getUserQuantityString( dutil, xwe, STRD_ROBOT_TRADED,
|
||||
MAX_TRAY_TILES );
|
||||
XP_SNPRINTF( buf, sizeof(buf), str, MAX_TRAY_TILES );
|
||||
nTrayTiles );
|
||||
XP_SNPRINTF( buf, sizeof(buf), str, nTrayTiles );
|
||||
|
||||
stream_catString( stream, buf );
|
||||
XP_ASSERT( !server->nv.prevMoveStream );
|
||||
|
|
Loading…
Reference in a new issue