[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.65.4.15,1.65.4.16

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

Modified Files:
      Tag: KDE_3_1_BRANCH
	atlantik_network.cpp 
Log Message:
backport: fix bug 54517

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.65.4.15
retrieving revision 1.65.4.16
diff -u -d -r1.65.4.15 -r1.65.4.16
--- atlantik_network.cpp	22 Jun 2003 23:45:10 -0000	1.65.4.15
+++ atlantik_network.cpp	23 Jun 2003 01:24:38 -0000	1.65.4.16
@@ -456,6 +456,11 @@
 					if (player && !a.isNull())
 						player->setCanAuction(a.value().toInt());
 
+					// Update whether player can use a card
+					a = e.attributeNode(QString("canusecard"));
+					if (player && !a.isNull())
+						player->setCanUseCard(a.value().toInt());
+
 					// Update whether player is jailed
 					a = e.attributeNode(QString("jailed"));
 					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.