[atlantik-cvs] CVS: kdegames/atlantik/libatlantic atlantic_core.cpp, 1.26, 1.27
[email protected] Thu, 6 Nov 2003 00:40:28 +0100 (CET)
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantic
In directory office:/tmp/cvs-serv18404/libatlantic
Modified Files:
atlantic_core.cpp
Log Message:
kdDebug info I expect to be useful
Index: atlantic_core.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantic/atlantic_core.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- atlantic_core.cpp 14 Jul 2003 08:03:07 -0000 1.26
+++ atlantic_core.cpp 5 Nov 2003 23:40:24 -0000 1.27
@@ -220,7 +220,10 @@
{
Player *player = 0;
for (QPtrListIterator<Player> it(m_players); (player = *it) ; ++it)
- std::cout << " P: " << player->name().latin1() << std::endl;
+ if (player == m_playerSelf)
+ std::cout << "PS: " << player->name().latin1() << ", game " << QString::number(player->gameId()).latin1() << std::endl;
+ else
+ std::cout << " P: " << player->name().latin1() << ", game " << QString::number(player->gameId()).latin1() << std::endl;
Estate *estate = 0;
for (QPtrListIterator<Estate> it(m_estates); (estate = *it) ; ++it)