[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp,1.96.6.11,1.96.6.12

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

Modified Files:
      Tag: KDE_3_1_BRANCH
	board.cpp 
Log Message:
helps if debug info is correct

Index: board.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/board.cpp,v
retrieving revision 1.96.6.11
retrieving revision 1.96.6.12
diff -u -d -r1.96.6.11 -r1.96.6.12
--- board.cpp	14 Jul 2003 02:53:19 -0000	1.96.6.11
+++ board.cpp	14 Jul 2003 03:03:33 -0000	1.96.6.12
@@ -203,10 +203,13 @@
 	}
 
 	Player *playerSelf = m_atlanticCore->playerSelf();
-	if (playerSelf && playerSelf->gameId() != player->gameId())
+	if (playerSelf)
 	{
-		kdDebug() << "addToken - not in same game" << endl;
-		return;
+		if (playerSelf->gameId() != player->gameId())
+		{
+			kdDebug() << "addToken - not in same game" << endl;
+			return;
+		}
 	}
 	else
 		kdDebug() << "addToken - no playerSelf" << endl;
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.