Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv6282/client
Modified Files:
Tag: KDE_3_1_BRANCH
atlantik.cpp
Log Message:
more token related fixes
Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.121.6.21
retrieving revision 1.121.6.22
diff -u -d -r1.121.6.21 -r1.121.6.22
--- atlantik.cpp 14 Jul 2003 01:30:10 -0000 1.121.6.21
+++ atlantik.cpp 14 Jul 2003 02:53:19 -0000 1.121.6.22
@@ -166,6 +166,9 @@
void Atlantik::newPlayer(Player *player)
{
+ if (player->isSelf())
+ m_atlanticCore->setPlayerSelf(player);
+
initBoard();
m_board->addToken(player);
addPortfolioView(player);
@@ -173,9 +176,6 @@
// Player::changed() is not connected until later this method, so
// we'd better force an update.
playerChanged(player);
-
- if (player->isSelf())
- m_atlanticCore->setPlayerSelf(player);
connect(player, SIGNAL(changed(Player *)), this, SLOT(playerChanged(Player *)));
connect(player, SIGNAL(changed(Player *)), m_board, SLOT(playerChanged(Player *)));
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.