mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
You can always change passwd for local player.
This commit is contained in:
parent
97ccccad48
commit
c56b7d0b94
1 changed files with 1 additions and 3 deletions
|
@ -389,7 +389,6 @@ adjustOneRow( NewGameCtx* ngc, XP_U16 player, XP_Bool force )
|
|||
hidden. But if it's not a new game, they're disabled. Password is
|
||||
always hidden if robot is set. */
|
||||
if ( isLocal ) {
|
||||
NewGameEnable passwdEn;
|
||||
/* No changing name or robotness since they're sent to remote
|
||||
host. */
|
||||
enable[NG_COL_NAME] = NGEnableEnabled;
|
||||
|
@ -400,8 +399,7 @@ adjustOneRow( NewGameCtx* ngc, XP_U16 player, XP_Bool force )
|
|||
&dValue );
|
||||
if ( !dValue.value.ng_bool ) {
|
||||
/* It is's a robot, leave it hidden */
|
||||
enable[NG_COL_PASSWD] = passwdEn = ngc->isNewGame?
|
||||
NGEnableEnabled : NGEnableDisabled;
|
||||
enable[NG_COL_PASSWD] = NGEnableEnabled;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue