# HG changeset patch # User Goffi # Date 1280915600 -28800 # Node ID 74aaf230a7c34ef8533fdbd87479b277947812dd # Parent 13888bdb72b67fd7932abd93b6614412d9a8c0ce wix, quick_frontend: deactivated autoplay in Tarot game diff -r 13888bdb72b6 -r 74aaf230a7c3 frontends/quick_frontend/quick_card_game.py --- a/frontends/quick_frontend/quick_card_game.py Wed Aug 04 12:01:07 2010 +0800 +++ b/frontends/quick_frontend/quick_card_game.py Wed Aug 04 17:53:20 2010 +0800 @@ -101,7 +101,7 @@ if self.state == "chien": self.to_show = [] self.state = "play" - self.__fakePlay() #gof: + #self.__fakePlay() #gof: def __fakePlay(self): """Convenience method for stupid autoplay @@ -149,5 +149,5 @@ self.hand.append(self.cards[suit, value]) self.hand.sort() - self.__fakePlay() #gof: + #self.__fakePlay() #gof: diff -r 13888bdb72b6 -r 74aaf230a7c3 frontends/wix/card_game.py --- a/frontends/wix/card_game.py Wed Aug 04 12:01:07 2010 +0800 +++ b/frontends/wix/card_game.py Wed Aug 04 17:53:20 2010 +0800 @@ -121,7 +121,7 @@ self._recalc_ori() self.Refresh() - #gof: wx.MessageDialog(self, _("Cards played are invalid !"), _("Error"), wx.OK | wx.ICON_ERROR).ShowModal() + wx.MessageDialog(self, _("Cards played are invalid !"), _("Error"), wx.OK | wx.ICON_ERROR).ShowModal() def _is_on_hand(self, pos_x, pos_y): """Return True if the coordinate are on the hand cards"""