TiborB has proposed merging lp:~widelands-dev/widelands/ai_scoring_typo into
lp:widelands.
Commit message:
fixing small typo in ai scoring 1->i
Requested reviews:
Widelands Developers (widelands-dev)
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/ai_scoring_typo/+merge/349499
--
Your team Widelands Developers is requested to review the proposed merge of
lp:~widelands-dev/widelands/ai_scoring_typo into lp:widelands.
=== modified file 'src/ai/defaultai.cc'
--- src/ai/defaultai.cc 2018-07-12 04:41:20 +0000
+++ src/ai/defaultai.cc 2018-07-13 19:44:20 +0000
@@ -5147,7 +5147,7 @@
int16_t tmp_score = 0;
for (uint8_t i = 0; i < kFNeuronBitSize; ++i) {
if (management_data.f_neuron_pool[53].get_position(i)) {
- tmp_score += inputs[1];
+ tmp_score += inputs[i];
}
}
if (site_needed_for_economy == BasicEconomyBuildingStatus::kEncouraged) {
_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help : https://help.launchpad.net/ListHelp