(mcost): Unused, remove.
This commit is contained in:
parent
1b8eaffce4
commit
c85f674059
2 changed files with 0 additions and 19 deletions
|
@ -207,24 +207,6 @@ getpath(s_char *buf, s_char *arg, coord x, coord y, int onlyown,
|
|||
goto more;
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
double
|
||||
mcost(struct sctstr *sp, int own)
|
||||
{
|
||||
return sector_mcost(sp, MOB_ROAD);
|
||||
|
||||
/*
|
||||
int m_cost;
|
||||
|
||||
if (!(m_cost = dchr[sp->sct_type].d_mcst))
|
||||
return -1.0;
|
||||
if (m_cost < 25)
|
||||
return (200.0 + (m_cost - 3.0) * sp->sct_effic) / 500.0;
|
||||
else
|
||||
return (m_cost * 5.0 - (double)sp->sct_effic) / 25.0;
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
* fly move cost
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue