[Freeciv-Dev] UnitType check patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hello,
The AI considers building certain units using best_role_unit() calls. The
problem is, it doesn't check if unit with these roles actually are
available for building with the current units.ruleset.
This caused problems on some modpacks with didn't have units with
F_SETTLERS and F_CITIES for example.
The attached patch fixes this. Since i don't know the AI code very well,
someone which knows it better than me should check it for bugs.
Thanks,
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
ai_utype_check.patch.gz
Description: Binary data
- [Freeciv-Dev] UnitType check patch,
Vasco Alexandre Da Silva Costa <=
|
|