(M_XLIGHT, M_CHOPPER): Redundant, remove.

(init_mchr): Don't set them.
(carrier_planes): Use m_nxlight, m_nchoppers instead.
This commit is contained in:
Markus Armbruster 2007-11-23 18:50:46 +00:00
parent b900866ea8
commit 57f589e2e4
4 changed files with 6 additions and 14 deletions

View file

@ -150,10 +150,8 @@ struct mchrstr {
#define M_SUBT bit(12) /* allows torping of other subs */
#define M_TRADE bit(13) /* is a trade ship */
#define M_SEMILAND bit(14) /* can land 1/4 */
/* M_XLIGHT will be automatically set in init_mchr() if m_nxlight > 0 */
#define M_XLIGHT bit(15) /* can hold xlight planes */
/* M_CHOPPER will be automatically set in init_mchr() if m_nchoppers > 0 */
#define M_CHOPPER bit(16) /* can hold choppers */
/* unused bit(15) */
/* unused bit(16) */
#define M_OILER bit(17) /* can re-fuel ships */
#define M_SUPPLY bit(18) /* Can supply units/sects/ships */
#define M_CANAL bit(19) /* Can navigate a canal (BIG CITY) */