[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp,1.104,1.105

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv25188/libatlantikui

Modified Files:
	board.cpp 
Log Message:
bugfix: update token geometry when token animation is disabled

Index: board.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/board.cpp,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- board.cpp	31 Jan 2003 05:44:17 -0000	1.104
+++ board.cpp	8 Feb 2003 14:44:40 -0000	1.105
@@ -217,7 +217,7 @@
 			jump = true;
 		}
 			
-		else if (token->location() != player->location())
+		if (token->location() != player->location())
 		{
 			token->setLocation(player->location());
 			jump = true;
@@ -280,7 +280,7 @@
 QPoint AtlantikBoard::calculateTokenDestination(Token *token, Estate *eDest)
 {
 		if (!eDest)
-			eDest = token->player()->location();
+			eDest = token->location();
 
 		EstateView *evDest = findEstateView(eDest);
 		if (!evDest)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.