(mchr[],m_flags,m_nland): Remove M_UNIT from m_flags in mchr[].

It is not used.
This commit is contained in:
Ron Koenderink 2005-11-22 23:19:59 +00:00
parent d4f52f6ca2
commit e47465570a
4 changed files with 1 additions and 6 deletions

View file

@ -63,8 +63,6 @@ init_mchr(void)
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;
}
}

View file

@ -569,7 +569,6 @@ struct symbol ship_chr_flags[] = {
{M_CHOPPER, "chopper"},
{M_OILER, "oiler"},
{M_SUPPLY, "supply"},
{M_UNIT, "unit"},
{M_ANTIMISSILE, "anti-missile"},
{0, NULL}
};

View file

@ -38,7 +38,7 @@
/*
* 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