URL:
<http://gna.org/bugs/?25587>
Summary: Error message about another (unrelated) add-on when
starting a campaign & sth goes wrong with sourcing.
Project: Battle for Wesnoth
Submitted by: shiki
Submitted on: Sun 12 Mar 2017 12:53:58 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.13.6+dev
Operating System: Debian 8
_______________________________________________________
Details:
In one of my add-on campaigns was sourcing an file which doesn't exist,
therefore appeared an error message when launching wesnoth.
The error was inside the [campaign] tag.
When opening the campaign list this campaign wasn't listed.
When I selected then another campaign in the list so start, I did get this
error message again during the loading screen, hence this campaign tag would
somehow have been evaluated again, without having sth. to do with that at
all.
More strange than that, the next time I launched wesnoth I got this message:
error config: Undefined macro in #ifver/#ifnver first argument:
'WESNOTH_VERSION'
This macro is getting used a bit earlier in the same campaign tag where the
error is. Why is that macro not know to the preprocessor due to this error?
For reproducing, sth. like this in any (add-on?) [campaign] tag should do it:
#ifver WESNOTH_VERSION < 1.13.2
image="data/add-ons/name/pic.png~RC(magenta>blue)~SCALE(216,216)"
#else
image="data/add-ons/name/pic.png~RC(magenta>blue)~XBRZ(3)"
#endif
{~add-ons/something/not.existing}
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?25587>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs