Factor out common fortress fire code into fort_fire()
This takes care of a number of bugs / inconsistencies: * sb() fired support even when there were not enough mil. * Shell resupply bugs: multifire() and quiet_bigdef() resupplied shells before checking all other requirements and could thus get more shells than actually needed. Rename landgun() to fortgun() for consistency.
This commit is contained in:
parent
3812cde100
commit
e8595066d1
8 changed files with 50 additions and 81 deletions
|
@ -214,4 +214,6 @@ struct sctintrins {
|
|||
|
||||
extern struct sctintrins intrchr[INT_DEF + 2];
|
||||
|
||||
extern int fort_fire(struct sctstr *);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue