Follow-up Comment #1, bug #21706 (project wesnoth):
As a side note, why is it MP-unsafe? It could easily use
helper.rand("1.."..index) instead of math.random. It's true that currently,
that would be MP-unsafe if it was used in a *non*-synchronized way, such as in
AI - so the function could take a boolean argument indicating which random
source to use. Or, with my proposals in https://gna.org/bugs/?21697, it
wouldn't need to.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21706>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs