(att_estimate_defense, att_get_offense): Rename. Remove dead code and
unused last parameter. Callers changed.
This commit is contained in:
parent
7ea516852b
commit
092a52f2c6
7 changed files with 9 additions and 53 deletions
|
@ -120,11 +120,7 @@ atta(void)
|
|||
return att_free_lists(&olist, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Estimate the defense strength and give the player a chance to abort
|
||||
*/
|
||||
|
||||
ototal = att_estimate_defense(A_ATTACK, off, &olist, def, a_spy);
|
||||
ototal = att_get_offense(A_ATTACK, off, &olist, def);
|
||||
if (att_abort(A_ATTACK, off, def)) {
|
||||
pr("Attack aborted\n");
|
||||
att_empty_attack(A_ATTACK, 0, def);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue