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

List:       atlantik-devel
Subject:    [atlantik-cvs]
From:       kde () office ! kde ! org
Date:       2003-10-13 20:01:53
[Download RAW message or body]

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())

_______________________________________________
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