Merge lp:~widelands-dev/widelands/bug-1520762 into lp:widelands

Proposed by TiborB
Status: Merged
Merged at revision: 7651
Proposed branch: lp:~widelands-dev/widelands/bug-1520762
Merge into: lp:widelands
Diff against target: 12 lines (+1/-1)
1 file modified
src/ai/defaultai.cc (+1/-1)
To merge this branch: bzr merge lp:~widelands-dev/widelands/bug-1520762
Reviewer Review Type Date Requested Status
GunChleoc Approve
Review via email: mp+278893@code.launchpad.net

Description of the change

Well, trivial fix for the bug. Probably my inattention..

To post a comment you must log in.
Revision history for this message
GunChleoc (gunchleoc) wrote :

Thumbs up :)

review: Approve
Revision history for this message
TiborB (tiborb95) wrote :

Thanks, fix pushed to trunk.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/ai/defaultai.cc'
2--- src/ai/defaultai.cc 2015-11-26 09:53:02 +0000
3+++ src/ai/defaultai.cc 2015-11-28 19:35:28 +0000
4@@ -4453,7 +4453,7 @@
5 ++field.supporters_nearby_.at(bo.production_hint_);
6 }
7
8- if (bo.plants_trees_ >= 0) {
9+ if (bo.plants_trees_) {
10 ++field.rangers_nearby_;
11 }
12 }

Subscribers

People subscribed via source and target branches

to status/vote changes: