fix assertion failure in dupe mode

This commit is contained in:
Eric House 2022-07-30 19:50:09 -07:00
parent 76f943de36
commit 10a2c5e4b7

View file

@ -3411,6 +3411,8 @@ dupe_commitAndReportMove( ServerCtxt* server, XWEnv xwe, XP_U16 winner,
XWStreamCtxt* tmpStream =
mem_stream_make_raw( MPPARM(server->mpool)
dutil_getVTManager(server->vol.dutil) );
/* tilesNBits, in moveInfoToStream(), needs version */
stream_setVersion( tmpStream, server->nv.streamVersion );
addDupeStuffMark( tmpStream, DUPE_STUFF_MOVES_SERVER );