test, don't assert: comms can be null

This commit is contained in:
Eric House 2010-10-28 05:45:56 -07:00
parent 670f7982ea
commit 4ae58342da

View file

@ -1191,8 +1191,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_comms_1isConnected
{
jboolean result;
XWJNI_START();
XP_ASSERT( !!state->game.comms );
result = comms_isConnected( state->game.comms );
result = NULL != state->game.comms && comms_isConnected( state->game.comms );
XWJNI_END();
return result;
}