[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.71,1.72

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

Modified Files:
	atlantik_network.cpp 
Log Message:
support for playerupdate attr host

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- atlantik_network.cpp	19 Dec 2002 03:11:08 -0000	1.71
+++ atlantik_network.cpp	19 Dec 2002 20:16:50 -0000	1.72
@@ -429,6 +429,11 @@
 					if (player && !a.isNull())
 						player->setName(a.value());
 
+					// Update player host
+					a = e.attributeNode(QString("host"));
+					if (player && !a.isNull())
+						player->setHost(a.value());
+
 					// Update player image/token
 					a = e.attributeNode(QString("image"));
 					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.