[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    [Kde-games-devel] [PATCH] libksirtet: keep pieces in ksirtet
From:       "Markus Mauder" <mmauder () gmail ! com>
Date:       2007-05-06 17:42:41
Message-ID: e542776e0705061042h2b03e193u27b5a2a0b07d0157 () mail ! gmail ! com
[Download RAW message or body]

Hi,
the current KDE4 version of ksirtet stops moving pieces down
automatically, when one piece has been dropped by the player (using
the down arrow key).

A patch to fix this problem is attached. Turned out to be a one-liner,
but what the heck, it's a start :)
Unfortunately I am not familiar with the other games using libksirtet
(nor am I with ksirtet for that matter), so I cannot completely rule
out the chance that they may be affected.

Thanks for your awesome work!

- Markus

["libksirtet_keep-pieces-moving.patch" (text/x-patch)]

Index: common/board.cpp
===================================================================
--- common/board.cpp	(Revision 661786)
+++ common/board.cpp	(Arbeitskopie)
@@ -243,6 +243,7 @@
 
     switch (state) {
     case Normal:
+        timer.setSingleShot(false);
         timer.start(normalTime());
         break;
     case DropDown:


_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic