(att_estimate_defense, att_get_offense): Rename. Remove dead code and

unused last parameter.  Callers changed.
This commit is contained in:
Markus Armbruster 2006-05-20 15:17:30 +00:00
parent 7ea516852b
commit 092a52f2c6
7 changed files with 9 additions and 53 deletions

View file

@ -147,11 +147,7 @@ boar(void)
return att_free_lists(&olist, 0);
}
/*
* Estimate the defense strength and give the player a chance to abort
*/
ototal = att_estimate_defense(A_BOARD, off, &olist, def, a_spy);
ototal = att_get_offense(A_BOARD, off, &olist, def);
if (att_abort(A_BOARD, off, def)) {
pr("Board aborted\n");
att_empty_attack(A_BOARD, 0, def);