apply human-count test when hiding tray when quitting. No replaces

Cancel.
This commit is contained in:
ehouse 2004-11-04 02:01:47 +00:00
parent eff5ed5fc6
commit 8a4ebebe5a

View file

@ -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;
}