forked from github/server
Merge branch 'master' of github.com:eressea/server
This commit is contained in:
commit
2e4adddb8f
|
@ -393,7 +393,7 @@ void encounters(void)
|
||||||
region *r;
|
region *r;
|
||||||
|
|
||||||
for (r = regions; r; r = r->next) {
|
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;
|
int c = 0;
|
||||||
unit *u;
|
unit *u;
|
||||||
for (u = r->units; u; u = u->next) {
|
for (u = r->units; u; u = u->next) {
|
||||||
|
|
Loading…
Reference in New Issue