mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
Reverse sense of is-local bit so that on upgrade people don't see all
their local players marked as remote.
This commit is contained in:
parent
678cbe1dea
commit
8ef3aa51b2
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ public class GameSummary {
|
|||
|
||||
private boolean isLocal( int indx ) {
|
||||
int flag = 2 << (indx * 2);
|
||||
return 0 != (giFlags & flag);
|
||||
return 0 == (giFlags & flag);
|
||||
}
|
||||
|
||||
private boolean isRobot( int indx ) {
|
||||
|
@ -138,7 +138,7 @@ public class GameSummary {
|
|||
Assert.assertNotNull( m_gi );
|
||||
int result = 0;
|
||||
for ( int ii = 0; ii < m_gi.nPlayers; ++ii ) {
|
||||
if ( m_gi.players[ii].isLocal ) {
|
||||
if ( ! m_gi.players[ii].isLocal ) {
|
||||
result |= 2 << (ii * 2);
|
||||
}
|
||||
if ( m_gi.players[ii].isRobot() ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue