(navi): Add missing local map for ship list.
Broken in rev 1.27. Remove unnecessary brackets.
This commit is contained in:
parent
2438fe7c9c
commit
ed176d8856
1 changed files with 1 additions and 3 deletions
|
@ -139,9 +139,8 @@ navi(void)
|
|||
mchr[(int)shp->shp_type].m_vrnge),
|
||||
(mchr[(int)shp->shp_type].m_flags & M_SONAR)
|
||||
? techfact(shp->shp_tech, 1.0) : 0.0);
|
||||
if (cp == NULL || *cp == '\0') {
|
||||
if (cp == NULL || *cp == '\0')
|
||||
cp = &dirch[DIR_STOP];
|
||||
}
|
||||
dir = chkdir(*cp, DIR_STOP, DIR_VIEW);
|
||||
if (dir >= 0) {
|
||||
if (dir == DIR_VIEW)
|
||||
|
@ -187,7 +186,6 @@ navi(void)
|
|||
break;
|
||||
case 'i':
|
||||
shp_list(&ship_list);
|
||||
skip = 1;
|
||||
break;
|
||||
case 'm':
|
||||
stopping |= shp_sweep(&ship_list, 1, 0, player->cnum);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue