mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
saveToken can be 0 when only gi is being saved
This commit is contained in:
parent
1e12464934
commit
ad67f31573
1 changed files with 1 additions and 1 deletions
|
@ -261,13 +261,13 @@ void
|
|||
game_saveToStream( const XWGame* game, const CurGameInfo* gi,
|
||||
XWStreamCtxt* stream, XP_U16 saveToken )
|
||||
{
|
||||
XP_ASSERT( 0 != saveToken );
|
||||
stream_putU8( stream, CUR_STREAM_VERS );
|
||||
stream_setVersion( stream, CUR_STREAM_VERS );
|
||||
|
||||
gi_writeToStream( stream, gi );
|
||||
|
||||
if ( !!game ) {
|
||||
XP_ASSERT( 0 != saveToken );
|
||||
stream_putU8( stream, (XP_U8)!!game->comms );
|
||||
#ifdef XWFEATURE_STANDALONE_ONLY
|
||||
XP_ASSERT( !game->comms );
|
||||
|
|
Loading…
Reference in a new issue