[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.65.4.2,1.65.4.3

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

Modified Files:
      Tag: KDE_3_1_BRANCH
	atlantik_network.cpp 
Log Message:
backport: support playerupdate host attr

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.65.4.2
retrieving revision 1.65.4.3
diff -u -d -r1.65.4.2 -r1.65.4.3
--- atlantik_network.cpp	9 Jan 2003 00:02:46 -0000	1.65.4.2
+++ atlantik_network.cpp	13 Jan 2003 15:01:07 -0000	1.65.4.3
@@ -433,6 +433,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 money
 					a = e.attributeNode(QString("money"));
 					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.