Follow-up Comment #10, patch #1500 (project freeciv):
> Need to check if game.info.timeout != -1 in unitwaittime_callback().
Probably the same in unit_can_do_action_now().
unitwaittime_callback(): It will work as for 'unitwaittime' only values > 0
are allowed (GAME_MIN_UNITWAITTIME), but it will print a strange error
message in that case. I will prepare a patch with a check similar as done in
timeout_callback().
unit_can_do_action_now(): here only 'unitwaittime' is used which has values >
0 (see above)
Autogames (timeout = -1) are only allowed if unitwaittime = 0
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1500>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev