From e0072c9b87e35959d5905b54aa924e548f234b57 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 1 Jul 2006 14:18:00 +0000 Subject: [PATCH] UI compromise on juggle: force something to happen, so the user sees a change, then juggle again so the outcome is random. This works on Palm because draws are not cached: if two players wind up not moving you still see them move then move back. --- xwords4/palm/newgame.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xwords4/palm/newgame.c b/xwords4/palm/newgame.c index 3b13fcb66..1fe3043f2 100644 --- a/xwords4/palm/newgame.c +++ b/xwords4/palm/newgame.c @@ -232,7 +232,9 @@ newGameHandleEvent( EventPtr event ) break; case XW_GINFO_JUGGLE_ID: - newg_juggle( state->ngc ); + while ( !newg_juggle( state->ngc ) ) { + } + (void)newg_juggle( state->ngc ); break; case XW_OK_BUTTON_ID: