[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.65.4.14,1.65.4.15
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv10648/libatlantikclient
Modified Files:
Tag: KDE_3_1_BRANCH
atlantik_network.cpp
Log Message:
backport: bugfix for bug 54516 (auctions enabled in menu when they should not be)
Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.65.4.14
retrieving revision 1.65.4.15
diff -u -d -r1.65.4.14 -r1.65.4.15
--- atlantik_network.cpp 22 Jun 2003 02:51:08 -0000 1.65.4.14
+++ atlantik_network.cpp 22 Jun 2003 23:45:10 -0000 1.65.4.15
@@ -451,6 +451,11 @@
if (player && !a.isNull())
player->setCanBuy(a.value().toInt());
+ // Update whether player can auction
+ a = e.attributeNode(QString("canauction"));
+ if (player && !a.isNull())
+ player->setCanAuction(a.value().toInt());
+
// Update whether player is jailed
a = e.attributeNode(QString("jailed"));
if (player && !a.isNull())