when version check fails, log the version numbers

This commit is contained in:
Eric House 2015-07-17 07:42:54 -07:00
parent d33681770f
commit 190ce42b0e

View file

@ -227,7 +227,8 @@ game_makeFromStream( MPFORMAL XWStreamCtxt* stream, XWGame* game,
XP_DEBUGF( "%s: strVersion = 0x%x", __func__, (XP_U16)strVersion );
if ( strVersion > CUR_STREAM_VERS ) {
XP_LOGF( "%s: aborting; stream version too new!", __func__ );
XP_LOGF( "%s: aborting; stream version too new (%d > %d)!", __func__,
strVersion, CUR_STREAM_VERS );
} else {
do { /* do..while so can break */
stream_setVersion( stream, strVersion );