From e121d1bdc085fec46517ae6e0020ab7dedeeef7d Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 23 Sep 2006 09:09:43 +0000 Subject: [PATCH] (sect_has_dock): NAV_CANAL in sect.h rev. 1.36 broke loading in 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/subs/shpsub.c b/src/lib/subs/shpsub.c index bf5f8783..4005e7fd 100644 --- a/src/lib/subs/shpsub.c +++ b/src/lib/subs/shpsub.c @@ -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;