[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.149,1.150

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

Modified Files:
	atlantik.cpp 
Log Message:
fix bug 54517

Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- atlantik.cpp	22 Jun 2003 23:44:19 -0000	1.149
+++ atlantik.cpp	23 Jun 2003 01:22:40 -0000	1.150
@@ -548,9 +548,9 @@
 		m_buyEstate->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
+		// TODO: Should be more finetuned, but monopd doesn't send can_endturn can_payjail can_jailroll yet
 		m_endTurn->setEnabled(player->hasTurn() && !(player->canRoll() || player->canBuy() || player->inJail()));
-		m_jailCard->setEnabled(player->hasTurn() && player->inJail());
+		m_jailCard->setEnabled(player->canUseCard());
 		m_jailPay->setEnabled(player->hasTurn() && player->inJail());
 		m_jailRoll->setEnabled(player->hasTurn() && 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.