Even host needs an address to mark game as BT

This commit is contained in:
Eric House 2012-02-01 07:00:25 -08:00
parent 5e330595fc
commit ab32480cd5

View file

@ -443,10 +443,13 @@ public class GameUtils {
int nPlayersT, int nPlayersH )
{
long rowid = -1;
int[] langa = { lang };
boolean isHost = null == addr;
if ( isHost ) {
addr = new CommsAddrRec( context, null, null );
}
return makeNewMultiGame( context, addr, langa, nPlayersT, nPlayersH,
null, gameID, null == addr );
null, gameID, isHost );
}
public static void launchInviteActivity( Context context,