It's now possible for a game to have no address modes, so don't assert

otherwise.
This commit is contained in:
Eric House 2015-06-19 07:45:47 -07:00
parent d89c0d2847
commit d27fdbd748

View file

@ -572,8 +572,9 @@ public class DBUtils {
long rowid = cursor.getLong( indx1 ); long rowid = cursor.getLong( indx1 );
CommsConnTypeSet typs = new CommsConnTypeSet( cursor.getInt(indx2) ); CommsConnTypeSet typs = new CommsConnTypeSet( cursor.getInt(indx2) );
// Better have an address if has pending sends // Better have an address if has pending sends
Assert.assertTrue( 0 < typs.size() ); if ( 0 < typs.size() ) {
result.put( rowid, typs ); result.put( rowid, typs );
}
} }
cursor.close(); cursor.close();
db.close(); db.close();