]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/nav_ship.c
(sect_has_dock): New.
[empserver] / src / lib / update / nav_ship.c
index 1c9edfff92f9dc25a74684af6471250131fcecd8..bb5897ad50a03b6801e79beae82ae55d596fef3e 100644 (file)
@@ -193,8 +193,7 @@ nav_loadship(struct shpstr *sp, natid cnum)
            didsomething[i] = 1;
            continue;
        }
-       if (sectp->sct_type != SCT_HARBR &&
-           !IS_BIG_CITY(sectp->sct_type)) {
+       if (!sect_has_dock(sectp)) {
            /* we can only load in harbors */
            didsomething[i] = 1;
            continue;