URL:
<http://gna.org/bugs/?19968>
Summary: Lua: some method equivalents of edit module
functions don't return values
Project: Freeciv
Submitted by: jtn
Submitted on: Sat Jul 21 21:28:46 2012
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: jtn
Originator Email:
Open/Closed: Open
Release: S2_4 r21594
Discussion Lock: Any
Operating System: Any
Planned Release: 2.4.0,2.5.0
_______________________________________________________
Details:
edit.give_technology() returns the tech, whereas (Player).give_technology()
does not. Similarly with edit.civil_war() and (Player).civil_war().
(Also, api_edit_unit_move is erroneously declared in tolua_server.pkg as
returning "bool *" rather than "bool". Fortunately tolua doesn't seem to have
taken any notice.)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19968>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev