[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.65.4.12,1.65.4.13

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

Modified Files:
      Tag: KDE_3_1_BRANCH
	atlantik_network.cpp 
Log Message:
backport; hide token when player goes bankrupt

Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.65.4.12
retrieving revision 1.65.4.13
diff -u -d -r1.65.4.12 -r1.65.4.13
--- atlantik_network.cpp	18 Jun 2003 00:58:49 -0000	1.65.4.12
+++ atlantik_network.cpp	22 Jun 2003 00:08:06 -0000	1.65.4.13
@@ -429,6 +429,10 @@
 					if (player && !a.isNull())
 						player->setMoney(a.value().toInt());
 
+					a = e.attributeNode(QString("bankrupt"));
+					if (player && !a.isNull())
+						player->setBankrupt(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.