mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
apply human-count test when hiding tray when quitting. No replaces
Cancel.
This commit is contained in:
parent
eff5ed5fc6
commit
8a4ebebe5a
1 changed files with 4 additions and 3 deletions
|
@ -1429,6 +1429,7 @@ eventLoop( PalmAppGlobals* globals )
|
|||
&& !!globals->game.board ) {
|
||||
if ( !globals->menuIsDown /* hi Marcus :-) */
|
||||
&& closeNonMainForms(globals)
|
||||
&& gi_countHumans( &globals->gameInfo ) > 1
|
||||
&& board_hideTray( globals->game.board ) ) {
|
||||
board_draw( globals->game.board );
|
||||
}
|
||||
|
@ -2279,7 +2280,7 @@ mainViewHandleEvent( EventPtr event )
|
|||
if ( server_getGameIsOver( globals->game.server ) ) {
|
||||
displayFinalScores( globals );
|
||||
} else if ( palmaskFromStrId( globals, STR_CONFIRM_END_GAME,
|
||||
-1, -1) ) {
|
||||
-1, STR_NO ) ) {
|
||||
server_endGame( globals->game.server );
|
||||
draw = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue