forked from github/server
Merge branch 'master' of github.com:eressea/server
This commit is contained in:
commit
16be68ada3
|
@ -1,3 +1,3 @@
|
||||||
#define VERSION_MAJOR 3
|
#define VERSION_MAJOR 3
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_BUILD 676
|
#define VERSION_BUILD 677
|
||||||
|
|
|
@ -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