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

List:       atlantik-devel
Subject:    [atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp,1.96.6.4,1.96.6.5
From:       kde () office ! kde ! org
Date:       2003-02-08 14:44:58
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv25214/libatlantikui

Modified Files:
      Tag: KDE_3_1_BRANCH
	board.cpp 
Log Message:
backported 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.96.6.4
retrieving revision 1.96.6.5
diff -u -d -r1.96.6.4 -r1.96.6.5
--- board.cpp	31 Jan 2003 06:24:39 -0000	1.96.6.4
+++ board.cpp	8 Feb 2003 14:44:56 -0000	1.96.6.5
@@ -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)

_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

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