Simplify mission_pln_equip()
Cases 't' and 'd' are identical.
This commit is contained in:
parent
ce7ab95c3b
commit
d8688508c4
1 changed files with 0 additions and 5 deletions
|
@ -1018,11 +1018,6 @@ mission_pln_equip(struct plist *plp, struct ichrstr *ip, int flags,
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 't':
|
case 't':
|
||||||
if ((pcp->pl_flags & P_C) == 0 || ip == 0)
|
|
||||||
break;
|
|
||||||
itype = ip->i_uid;
|
|
||||||
needed = (load * 2) / ip->i_lbs;
|
|
||||||
break;
|
|
||||||
case 'd':
|
case 'd':
|
||||||
if ((pcp->pl_flags & P_C) == 0 || ip == 0)
|
if ((pcp->pl_flags & P_C) == 0 || ip == 0)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue