Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv6235/client
Modified Files:
atlantik.cpp
Log Message:
more token related fixes
Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- atlantik.cpp 14 Jul 2003 01:29:50 -0000 1.154
+++ atlantik.cpp 14 Jul 2003 02:52:44 -0000 1.155
@@ -174,6 +174,9 @@
void Atlantik::newPlayer(Player *player)
{
+ if (player->isSelf())
+ m_atlanticCore->setPlayerSelf(player);
+
initBoard();
m_board->addToken(player);
addPortfolioView(player);
@@ -181,9 +184,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.