Follow-up Comment #6, patch #2143 (project freeciv):
> starts a lua ai (default ai called via a lua instance)
This cannot work correctly. (Well, it does as long as you use *all* parts of
default ai, and don't reimplement any part yourself).
Most notable problem is that default ai code depends heavily on pointer to
its own ai type (default_ai_get_self() calls). So default ai functions you
call are not using data stored for you lua ai, but for default ai.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2143>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev