]> git.pond.sub.org Git - empserver/commitdiff
(sect_has_dock): NAV_CANAL in sect.h rev. 1.36 broke loading in
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 23 Sep 2006 09:09:43 +0000 (09:09 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 23 Sep 2006 09:09:43 +0000 (09:09 +0000)
canals, fix.  Can't enforce M_CANAL condition here, so leave it to
callers.  Callers don't enforce it either, which means landlocked
ships can load in canals.  Oh well.

src/lib/subs/shpsub.c

index bf5f878346efaa77d276900827bb8140daa29062..4005e7fd0d9ee717808c85317c0b48737afb9af4 100644 (file)
@@ -398,6 +398,7 @@ sect_has_dock(struct sctstr *sect)
 {
     switch (dchr[sect->sct_type].d_nav) {
     case NAV_02:
+    case NAV_CANAL:
        return 1;
     default:
        return 0;