[prev in list] [next in list] [prev in thread] [next in thread] 

List:       atlantik-devel
Subject:    [atlantik-cvs]
From:       kde () office ! kde ! org
Date:       2003-06-17 19:55:43
[Download RAW message or body]

Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv16782/client

Modified Files:
      Tag: KDE_3_1_BRANCH
	atlantik.cpp 
Log Message:
backport: reset complete core when going to the select server page

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.121.6.12
retrieving revision 1.121.6.13
diff -u -d -r1.121.6.12 -r1.121.6.13
--- atlantik.cpp	17 Jun 2003 18:15:23 -0000	1.121.6.12
+++ atlantik.cpp	17 Jun 2003 19:55:41 -0000	1.121.6.13
@@ -220,6 +220,7 @@
 	m_selectServer = new SelectServer(m_mainWidget, "selectServer");
 	m_mainLayout->addMultiCellWidget(m_selectServer, 0, 2, 1, 1);
 	m_selectServer->show();
+
 	if (m_selectGame)
 	{
 		disconnect(m_atlantikNetwork, SIGNAL(gameListClear()), m_selectGame, SLOT(slotGameListClear()));
@@ -227,6 +228,10 @@
 		delete m_selectGame;
 		m_selectGame = 0;
 	}
+
+	m_atlanticCore->reset(true);
+	m_playerSelf = 0;
+
 	initNetworkObject();
 
 	connect(m_atlantikNetwork, SIGNAL(gameListClear()), this, SLOT(showSelectGame()));

_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic