[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.89,1.90
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv10552/libatlantikclient
Modified Files:
atlantik_network.cpp
Log Message:
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.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- atlantik_network.cpp 22 Jun 2003 02:43:26 -0000 1.89
+++ atlantik_network.cpp 22 Jun 2003 23:44:21 -0000 1.90
@@ -477,6 +477,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())