- Schiffe trieben nicht mehr in unerlaubte Regionen ab

This commit is contained in:
Enno Rehling 2004-06-14 06:11:24 +00:00
parent 9af938319c
commit 55d76ef3b8
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ drifting_ships(region * r)
for (d = 0; d != MAXDIRECTIONS; ++d) {
region * rn = rconnect(r, (direction_t)((d + d_offset) % MAXDIRECTIONS));
terrain_t t = rterrain(rn);
if (rn!=NULL && (terrain[t].flags & SAIL_INTO)) {
if (rn!=NULL && (terrain[t].flags & SAIL_INTO) && ship_allowed(sh->type, rn)) {
rnext = rn;
if (t!=T_OCEAN) break;
}