[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.80,1.81

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

Modified Files:
	atlantik_network.cpp 
Log Message:
keep track of gameid for players

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- atlantik_network.cpp	9 Jan 2003 00:02:31 -0000	1.80
+++ atlantik_network.cpp	19 Jan 2003 23:59:00 -0000	1.81
@@ -417,6 +417,11 @@
 					if (player && !a.isNull())
 						player->setName(a.value());
 
+					// Update player game
+					a = e.attributeNode(QString("game"));
+					if (player && !a.isNull())
+						player->setGame(a.value().toInt());
+
 					// Update player host
 					a = e.attributeNode(QString("host"));
 					if (player && !a.isNull())
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.