From: Ron Koenderink Date: Thu, 29 Jun 2006 01:24:34 +0000 (+0000) Subject: (navi): Add missing local map for ship list. X-Git-Tag: v4.3.7~63 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=ed176d8856fe99f693e38520fb815bed3fbdf6b5 (navi): Add missing local map for ship list. Broken in rev 1.27. Remove unnecessary brackets. --- diff --git a/src/lib/commands/navi.c b/src/lib/commands/navi.c index ba36ce8d8..393f7e9bc 100644 --- a/src/lib/commands/navi.c +++ b/src/lib/commands/navi.c @@ -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);