From 1000c1f9112671c2f740c87d58dbf3c44cd50cbd Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 29 Jun 2014 12:47:11 -0700 Subject: [PATCH] random encounters in land regions only (nobody will ever enter a firewall, and astral plane shouldn't have it either) --- src/randenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/randenc.c b/src/randenc.c index 0e40c4c93..bb178ab3f 100644 --- a/src/randenc.c +++ b/src/randenc.c @@ -393,7 +393,7 @@ void encounters(void) region *r; for (r = regions; r; r = r->next) { - if (!fval(r->terrain, SEA_REGION) && fval(r, RF_ENCOUNTER)) { + if (fval(r->terrain, LAND_REGION) && fval(r, RF_ENCOUNTER)) { int c = 0; unit *u; for (u = r->units; u; u = u->next) {