[net.bugs.4bsd] another problem with "mille"

colonel@gloria.UUCP (Col. G. L. Sicherman) (07/20/85)

["So much for a house style!"]

Another bug is that mille(6) lets you discard safeties.  We fixed this one
long ago:

[in move.c]
	  case M_DISCARD:
		if (haspicked(pp)) {
			if (pp->hand[Card_no] == C_INIT)
				...
			else {
				Discard = pp->hand[Card_no];
				if (issafety(Discard)) {
					error("not that one!");
					break;
				}
				pp->hand[Card_no] = C_INIT;
				Next = TRUE;
				if (Play == PLAYER)
					account(Discard);
			}
		}
		else ...
-- 
Col. G. L. Sicherman
UU: ...{rocksvax|decvax}!sunybcs!colonel
CS: colonel@buffalo-cs
BI: csdsicher@sunyabva