Hello, who did add this comment into
Building *Team::findNearestFood(Unit *unit)
I don't know where it's wrong, but it is mean to act this way. If you don't turn
on food vision, then you can't convert units. Anyone want another behaviour ?
Nuage
if (!concurency)
return NULL;//This is bad, bad, bad. It means that if you have no
opponents
with Inn View on,
//your units CANNOT be converted --- even if an enemy inn is in normal
view range.
//Later in the code, this turns out to mean that no team can convert
any units
without
//both being your enemy and turning on Inn View. This is inconsistent
with the
current
//documentation and with the meaning of 'inn view'. It's a convenient
way to do
things,
//but should be done away with sometime.
_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel