[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.121.6.15,1.121.6.16

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

Modified Files:
      Tag: KDE_3_1_BRANCH
	atlantik.cpp 
Log Message:
backport: bugfix for bug 54516 (auctions enabled in menu when they should not be)

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.121.6.15
retrieving revision 1.121.6.16
diff -u -d -r1.121.6.15 -r1.121.6.16
--- atlantik.cpp	22 Jun 2003 00:14:26 -0000	1.121.6.15
+++ atlantik.cpp	22 Jun 2003 23:45:10 -0000	1.121.6.16
@@ -512,7 +512,7 @@
 	{
 		m_roll->setEnabled(player->canRoll());
 		m_buyEstate->setEnabled(player->canBuy());
-		m_auctionEstate->setEnabled(player->canBuy());
+		m_auctionEstate->setEnabled(player->canAuction());
 
 		// TODO: Should be more finetuned, but monopd doesn't send can_endturn can_usejailcard can_payjail can_jailroll yet
 		m_endTurn->setEnabled(player->hasTurn() && !(player->canRoll() || player->canBuy() || player->inJail()));
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.