[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp, 1.116, 1.117
[email protected] Mon, 13 Oct 2003 22:01:53 +0200 (CEST)
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv3439/libatlantikui
Modified Files:
board.cpp
Log Message:
fix bug #65830
Index: board.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/board.cpp,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- board.cpp 10 Oct 2003 02:16:39 -0000 1.116
+++ board.cpp 13 Oct 2003 20:01:50 -0000 1.117
@@ -245,7 +245,12 @@
if (token->inJail() != player->inJail())
{
token->setInJail(player->inJail());
- jump = true;
+
+ // If any status such as jail is ever allowed to
+ // change in the future, during movement, this needs
+ // to be addressed in moveToken and subsequent steps.
+ if (token != m_movingToken)
+ jump = true;
}
if (token->location() != player->location())