From 1f4d483b78fb9730af58eb0e6143cb452015c46f Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 17 Feb 2008 09:01:29 +0100 Subject: [PATCH] Consider only wilderness for randomly placed sanctuaries Before, any non-sea sector was acceptable. Placing sanctuaries on mountains, plains or bridges doesn't seem such a bright idea, though. --- src/lib/commands/new.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/commands/new.c b/src/lib/commands/new.c index fabf6b35..aef15eb3 100644 --- a/src/lib/commands/new.c +++ b/src/lib/commands/new.c @@ -105,10 +105,10 @@ new(void) * another place on the map. */ getsect(x, y, §); - if (sect.sct_type == SCT_WATER || sect.sct_own != 0) + if (sect.sct_type != SCT_RURAL || sect.sct_own != 0) continue; getsect(x + 2, y, §); - if (sect.sct_type == SCT_WATER || sect.sct_own != 0) + if (sect.sct_type != SCT_RURAL || sect.sct_own != 0) continue; if (isok(x, y)) break;