[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.73,1.74

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

Modified Files:
	atlantik_network.cpp 
Log Message:
core and network support for playerupdate master, still need to make use of it in SelectConfiguration widget, though

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- atlantik_network.cpp	19 Dec 2002 21:34:41 -0000	1.73
+++ atlantik_network.cpp	19 Dec 2002 23:27:28 -0000	1.74
@@ -421,6 +421,10 @@
 					if (player && !a.isNull())
 						player->setMoney(a.value().toInt());
 
+					a = e.attributeNode(QString("master"));
+					if (player && !a.isNull())
+						player->setMaster(a.value().toInt());
+
 					a = e.attributeNode(QString("hasturn"));
 					if (player && !a.isNull())
 						player->setHasTurn(a.value().toInt());
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.