(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

@ -62,10 +62,6 @@ init_mchr(void)
struct mchrstr *mp;
for (mp = mchr; mp->m_name; mp++) {
if (mp->m_nxlight)
mp->m_flags |= M_XLIGHT;
if (mp->m_nchoppers)
mp->m_flags |= M_CHOPPER;
if (mp->m_nplanes && !(mp->m_flags & M_MSL || mp->m_flags & M_FLY))
mp->m_flags |= M_MSL;
}