[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.65.4.13,1.65.4.14
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv1224/libatlantikclient
Modified Files:
Tag: KDE_3_1_BRANCH
atlantik_network.cpp
Log Message:
backport: fix 54942
Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.65.4.13
retrieving revision 1.65.4.14
diff -u -d -r1.65.4.13 -r1.65.4.14
--- atlantik_network.cpp 22 Jun 2003 00:08:06 -0000 1.65.4.13
+++ atlantik_network.cpp 22 Jun 2003 02:51:08 -0000 1.65.4.14
@@ -433,6 +433,10 @@
if (player && !a.isNull())
player->setBankrupt(a.value().toInt());
+ a = e.attributeNode(QString("hasdebt"));
+ if (player && !a.isNull())
+ player->setHasDebt(a.value().toInt());
+
a = e.attributeNode(QString("hasturn"));
if (player && !a.isNull())
player->setHasTurn(a.value().toInt());