mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
merge local heads
This commit is contained in:
commit
9e300c3a0d
1 changed files with 4 additions and 5 deletions
|
@ -616,11 +616,10 @@ public class JNIThread extends Thread {
|
||||||
public static boolean tryConnectClient( int gamePtr, CurGameInfo gi )
|
public static boolean tryConnectClient( int gamePtr, CurGameInfo gi )
|
||||||
{
|
{
|
||||||
XwJNI.comms_start( gamePtr );
|
XwJNI.comms_start( gamePtr );
|
||||||
|
if ( gi.serverRole == DeviceRole.SERVER_ISCLIENT ) {
|
||||||
boolean draw = gi.serverRole == DeviceRole.SERVER_ISCLIENT
|
XwJNI.server_initClientConnection( gamePtr );
|
||||||
&& XwJNI.server_initClientConnection( gamePtr )
|
}
|
||||||
&& XwJNI.server_do( gamePtr ); // call once enough?
|
return XwJNI.server_do( gamePtr );
|
||||||
return draw;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// public void run( boolean isUI, Runnable runnable )
|
// public void run( boolean isUI, Runnable runnable )
|
||||||
|
|
Loading…
Reference in a new issue