mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
set m_gameOver when it's first known.
This commit is contained in:
parent
e5bb360537
commit
9eea15185c
1 changed files with 5 additions and 4 deletions
|
@ -1725,13 +1725,14 @@ public class BoardActivity extends XWActivity
|
|||
startChatActivity();
|
||||
}
|
||||
if ( m_overNotShown ) {
|
||||
Boolean auto = null;
|
||||
boolean auto = false;
|
||||
if ( 0 != (GameSummary.MSG_FLAGS_GAMEOVER & flags) ) {
|
||||
auto = new Boolean( false );
|
||||
m_gameOver = true;
|
||||
} else if ( DBUtils.gameOver( this, m_rowid ) ) {
|
||||
auto = new Boolean( true );
|
||||
m_gameOver = true;
|
||||
auto = true;
|
||||
}
|
||||
if ( null != auto ) {
|
||||
if ( m_gameOver ) {
|
||||
m_overNotShown = false;
|
||||
m_jniThread.handle( JNICmd.CMD_POST_OVER, auto );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue