widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #12946
[Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
TiborB has proposed merging lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands.
Commit message:
AI tweak - fisher now strictly requires fishes in vicinity.
Requested reviews:
Widelands Developers (widelands-dev)
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/ai_fisher_fix/+merge/342427
AI tweak - fisher now strictly requires fishes in vicinity.
NOT TESTED! But what can go wrong here :)
--
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands.
=== modified file 'src/ai/defaultai.cc'
--- src/ai/defaultai.cc 2018-03-27 09:10:21 +0000
+++ src/ai/defaultai.cc 2018-03-29 21:24:24 +0000
@@ -2722,7 +2722,7 @@
} else if (bo.is(BuildingAttribute::kFisher)) { // fisher
- if (bf->water_nearby < 2 || bf->fish_nearby < 2) {
+ if (bf->fish_nearby < 2) {
continue;
}
Follow ups
-
[Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: noreply, 2018-04-08
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: TiborB, 2018-04-07
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: GunChleoc, 2018-04-07
-
[Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: bunnybot, 2018-04-06
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: hessenfarmer, 2018-04-06
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: hessenfarmer, 2018-04-01
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: hessenfarmer, 2018-04-01
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: TiborB, 2018-03-31
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: TiborB, 2018-03-30
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: hessenfarmer, 2018-03-30
-
[Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: bunnybot, 2018-03-30
-
Re: [Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: GunChleoc, 2018-03-30
-
[Merge] lp:~widelands-dev/widelands/ai_fisher_fix into lp:widelands
From: bunnybot, 2018-03-30