mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
set dictLang to 0 (unknown) when reading old-version stream
This commit is contained in:
parent
f9b2eb4a3e
commit
fd85bd35da
1 changed files with 2 additions and 3 deletions
|
@ -439,9 +439,8 @@ gi_readFromStream( MPFORMAL XWStreamCtxt* stream, CurGameInfo* gi )
|
|||
}
|
||||
|
||||
gi->gameID = stream_getU16( stream );
|
||||
if ( strVersion >= STREAM_VERS_DICTLANG ) {
|
||||
gi->dictLang = stream_getU8( stream );
|
||||
}
|
||||
gi->dictLang =
|
||||
strVersion >= STREAM_VERS_DICTLANG ? stream_getU8( stream ) : 0;
|
||||
if ( gi->timerEnabled || strVersion >= STREAM_VERS_GAMESECONDS ) {
|
||||
gi->gameSeconds = stream_getU16( stream );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue