[atlantik-cvs] CVS: kdegames/atlantik/libatlantikui board.cpp, 1.118, 1.119

[email protected] Thu, 6 Nov 2003 00:40:29 +0100 (CET)
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv18404/libatlantikui

Modified Files:
	board.cpp 
Log Message:
kdDebug info I expect to be useful

Index: board.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/board.cpp,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- board.cpp	13 Oct 2003 23:27:55 -0000	1.118
+++ board.cpp	5 Nov 2003 23:40:26 -0000	1.119
@@ -195,10 +195,9 @@
 
 void AtlantikBoard::addToken(Player *player)
 {
-	kdDebug() << "addToken" << endl;
 	if (!player->location())
 	{
-		kdDebug() << "addToken - estateView null" << endl;
+		kdDebug() << "addToken ignored - estateView null" << endl;
 		return;
 	}
 
@@ -211,6 +210,8 @@
 		kdDebug() << "addToken ignored - not in same game as playerSelf" << endl;
 		return;
 	}
+
+	kdDebug() << "addToken" << endl;
 
 	Token *token = new Token(player, this, "token");
 	m_tokens.append(token);