Comment 28 for bug 1767976

Revision history for this message
hessenfarmer (stephan-lutz) wrote :

Hi
I have to admit that on a quick glance it looks not very comprehensible but after some thoughts I believe I understand what is going on in the code. While digging what preciousness is doing I probably found a bug giving preciousness a direct effect on the building necessity.
In
https://bazaar.launchpad.net/~widelands-dev/widelands/trunk/view/head:/src/ai/defaultai.cc#L5150

there should be probably inputs[i] instead of inputs[1].