[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.121.6.10,1.121.6.11

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

Modified Files:
      Tag: KDE_3_1_BRANCH
	atlantik.cpp 
Log Message:
backport: delete token when player is deleted

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.121.6.10
retrieving revision 1.121.6.11
diff -u -d -r1.121.6.10 -r1.121.6.11
--- atlantik.cpp	9 Jun 2003 18:54:42 -0000	1.121.6.10
+++ atlantik.cpp	9 Jun 2003 19:12:22 -0000	1.121.6.11
@@ -205,7 +205,8 @@
 	if (portfolioView)
 		m_portfolioViews.remove(portfolioView);
 
-	// TODO: Remove tokens from board
+	if (m_board)
+		m_board->removeToken(player);
 }
 
 void Atlantik::removeGUI(Trade *trade)
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.