make game_receiveMessage return even if server doesn't do anything

with it -- since caller will use the return value to decide whether to
save state.
This commit is contained in:
Andy2 2011-02-24 17:33:10 -08:00
parent f0d90f0576
commit f382f17d20

View file

@ -976,8 +976,10 @@ Java_org_eehouse_android_xw4_jni_XwJNI_game_1receiveMessage
XWStreamCtxt* stream = streamFromJStream( MPPARM(mpool) env, globals->vtMgr,
jstream );
result = comms_checkIncomingStream( state->game.comms, stream, NULL )
&& server_receiveMessage( state->game.server, stream );
result = comms_checkIncomingStream( state->game.comms, stream, NULL );
if ( result ) {
(void)server_receiveMessage( state->game.server, stream );
}
stream_destroy( stream );