diff --git a/simgear/constants.h b/simgear/constants.h index f0a09435..dcb266d0 100644 --- a/simgear/constants.h +++ b/simgear/constants.h @@ -123,7 +123,7 @@ /** Highest binobj format version we know how to read/write. This starts at * 0 and can go up to 65535 */ -#define SG_BINOBJ_VERSION 5 +#define SG_BINOBJ_VERSION 6 /** for backwards compatibility */ #define SG_SCENERY_FILE_FORMAT "0.4" diff --git a/simgear/io/sg_binobj.cxx b/simgear/io/sg_binobj.cxx index 01141d45..73403d37 100644 --- a/simgear/io/sg_binobj.cxx +++ b/simgear/io/sg_binobj.cxx @@ -320,8 +320,8 @@ bool SGBinObject::read_bin( const string& file ) { if ( (fp = gzopen( file.c_str(), "rb" )) == NULL ) { string filegz = file + ".gz"; if ( (fp = gzopen( filegz.c_str(), "rb" )) == NULL ) { - // cout << "ERROR: opening " << file << " or " << filegz - // << "for reading!" << endl; + cout << "ERROR: opening " << file << " or " << filegz + << "for reading!" << endl; return false; }