URL:
<http://gna.org/bugs/?24577>
Summary: Editor tool_init() functions not called when ruleset
changed / has ruleset specific part
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 10 Apr 2016 11:30:37 PM EEST
Category: editor
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.6.0, 3.0.0
_______________________________________________________
Details:
tool_init() for each tool is called only from editor_init(), which is
documented as
"This only needs to be done once at client start."
In S2_6/TRUNK the range of sensible values for ETT_TERRAIN_SPECIAL depends on
the ruleset, so the initialization value set based on one ruleset (or not
ruleset at all) may not be legal when another ruleset is being used.
My WIP solution for patch #6712 makes the overall problem much more serious.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24577>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev