(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:
parent
b900866ea8
commit
57f589e2e4
4 changed files with 6 additions and 14 deletions
|
@ -397,9 +397,9 @@ carrier_planes(struct shpstr *sp, int msl)
|
|||
res |= P_L;
|
||||
if ((mcp->m_flags & M_MSL) && msl)
|
||||
res |= P_L;
|
||||
if ((mcp->m_flags & M_CHOPPER) && !msl)
|
||||
if (mcp->m_nchoppers && !msl)
|
||||
res |= P_K;
|
||||
if (mcp->m_flags & M_XLIGHT)
|
||||
if (mcp->m_nxlight)
|
||||
res |= P_E;
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue