--===============36642539981733724== Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="vNrHrykRFvLVX6W3" Content-Disposition: inline --vNrHrykRFvLVX6W3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2003 at 06:41:54PM +0200, Albert Astals Cid wrote: > So changing=20 > m_auctionEstate->setEnabled(player->canAuction()); > to=20 > m_auctionEstate->setEnabled(player->canAuction() && player->hasTurn()); > in atlantik.cpp should ensure that auctions are enabled only when they sh= ould,=20 > isn't it? Yes, but that's client logic and I always want to minimize that: the client displays and renders, but all logic is on the server side. It's easier for clients if they can just directly evaluate a game-state variable than having to know the rules of the game, in this case that "an auction is available as side-effect of a purchase opportunity". But this would work as a workaround until I have a chance to have the proper fix in the form of more generalization. :) Rob --=20 Rob Kaper | "They that can give up essential liberty to obtain a little cap@capsi.com | temporary safety deserve neither liberty nor safety." www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759 --vNrHrykRFvLVX6W3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+5hQwtppIl2G1SjcRAjpQAJwMWFpoRioYLuL1GHkZpxvhgBMj2wCggaDi 7NnIZgYL1EgoAbpnRjZGn5g= =PglP -----END PGP SIGNATURE----- --vNrHrykRFvLVX6W3-- --===============36642539981733724== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ atlantik-devel mailing list atlantik-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/atlantik-devel --===============36642539981733724==--