Indented with src/scripts/indent-emp.

This commit is contained in:
Markus Armbruster 2003-09-02 20:48:48 +00:00
parent 5f263a7753
commit 9b7adfbecc
437 changed files with 52211 additions and 51052 deletions

View file

@ -53,31 +53,31 @@ global_init(void)
void
init_mchr(void)
{
register struct mchrstr *mp;
register int n;
register struct mchrstr *mp;
register int n;
for (mp = mchr, n = 0; n < shp_maxno; n++, 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;
if (mp->m_nland)
mp->m_flags |= M_UNIT;
}
for (mp = mchr, n = 0; n < shp_maxno; n++, 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;
if (mp->m_nland)
mp->m_flags |= M_UNIT;
}
}
void
init_plchr(void)
{
register struct plchrstr *pp;
int pcount;
register struct plchrstr *pp;
int pcount;
for (pp = plchr, pcount = 0; pcount < pln_maxno; pcount++, pp++) {
if (pp->pl_flags & P_M)
pp->pl_flags |= P_V;
}
for (pp = plchr, pcount = 0; pcount < pln_maxno; pcount++, pp++) {
if (pp->pl_flags & P_M)
pp->pl_flags |= P_V;
}
}
void