See one small comment in code

Diff comments:

> 
> === modified file 'src/ai/ai_help_structs.cc'
> --- src/ai/ai_help_structs.cc 2018-04-08 22:33:43 +0000
> +++ src/ai/ai_help_structs.cc 2018-06-10 10:37:32 +0000
> @@ -339,6 +339,14 @@
>       is_militarysite(false) {
>  }
>  
> +uint16_t BuildableField::count_producers_nearby(std::vector<uint8_t>& 
> outputs) {

This function is not used anywhere, is it?

> +     uint16_t count = 0;
> +     for (auto output : outputs) {
> +             count += producers_nearby.at(output);
> +     }
> +     return count;
> +}
> +
>  MineableField::MineableField(const Widelands::FCoords& fc)
>     : coords(fc),
>       field_info_expiration(20000),


-- 
https://code.launchpad.net/~widelands-dev/widelands/frisian_balancing_with_ai_hints/+merge/347166
Your team Widelands Developers is subscribed to branch 
lp:~widelands-dev/widelands/frisian_balancing_with_ai_hints.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to