[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp,1.96.6.4,1.96.6.5
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
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)