Update of bug #23231 (project freeciv):

                 Summary: Multiplayer ruleset lua error: attempt to index
field '?' (a nil value) => advance_by_number(A_FUTURE) returning NULL

    _______________________________________________________

Follow-up Comment #7:

The already posted patch fixes part of the problem.

The other problem is that advance_by_number() returns NULL for A_FUTURE as an
out-of-bounds value.
Some callers (and there's lots) may depend on that property (NULL for advance
that does not behave like the rest) so the correct fix might be to the caller
side. Then again, some other callers might be similarly broken due to that
advance_by_number() property. Anyone know what's the correct behavior for
advance_by_number() (so we can fix non-confroming callers to that side)?

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?23231>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to