Previous revision broke canal navigation, fix.
This commit is contained in:
parent
da5dab6357
commit
5cdbd2ff96
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ shp_check_nav(struct sctstr *sect, struct shpstr *shp)
|
||||||
case NAVOK:
|
case NAVOK:
|
||||||
break;
|
break;
|
||||||
case NAV_CANAL:
|
case NAV_CANAL:
|
||||||
if (mchr[(int)shp->shp_type].m_flags & M_CANAL == M_CANAL) {
|
if (mchr[(int)shp->shp_type].m_flags & M_CANAL) {
|
||||||
if (sect->sct_effic < 2)
|
if (sect->sct_effic < 2)
|
||||||
return CN_CONSTRUCTION;
|
return CN_CONSTRUCTION;
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue