[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp, 1.122, 1.123

[email protected] Sun, 30 May 2004 20:13:21 +0200
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv23292/libatlantikui

Modified Files:
	board.cpp 
Log Message:
Resume token animation after a resize by not removing the moving token
pointer in the jumpToken call when the resume bool is set.

CCMAIL:[email protected]


Index: board.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/board.cpp,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- board.cpp	10 Feb 2004 19:46:36 -0000	1.122
+++ board.cpp	30 May 2004 18:13:19 -0000	1.123
@@ -1,4 +1,4 @@
-// Copyright (c) 2002-2003 Rob Kaper <[email protected]>
+// Copyright (c) 2002-2004 Rob Kaper <[email protected]>
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -321,7 +321,9 @@
 	if (token == m_movingToken)
 	{
 		m_timer->stop();
-		m_movingToken = 0;
+
+		if (!m_resumeTimer)
+			m_movingToken = 0;
 	}
 
 	emit tokenConfirmation(token->location());