It is not used.
#define M_CHOPPER bit(16) /* can hold choppers */
#define M_OILER bit(17) /* can re-fuel ships */
#define M_SUPPLY bit(18) /* Can supply units/sects/ships */
-/* M_UNIT will be automatically set in init_global() if m_nland > 0 */
-#define M_UNIT bit(19) /* Can carry units */
#define M_ANTIMISSILE bit(20) /* Shoot down missile */
#define getship(n, p) \
mp->m_flags |= M_CHOPPER;
if (mp->m_nplanes && !(mp->m_flags & M_MSL || mp->m_flags & M_FLY))
mp->m_flags |= M_MSL;
- if (mp->m_nland)
- mp->m_flags |= M_UNIT;
}
}
{M_CHOPPER, "chopper"},
{M_OILER, "oiler"},
{M_SUPPLY, "supply"},
- {M_UNIT, "unit"},
{M_ANTIMISSILE, "anti-missile"},
{0, NULL}
};
/*
* marine characteristics -- ship capabilities descriptions
*
- * Note, that you should not set the flags M_XLIGHT, M_UNIT, or M_CHOPPER
+ * Note, that you should not set the flags M_XLIGHT or M_CHOPPER
* here. They will be automatically set by init_global() when the server
* starts if the ship can carry a non-zero amount of those things.
* Also note that if nplanes > 0 and M_FLY is not set, then M_MSL will