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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to