Fixed a few more numeric TC palette references

This commit is contained in:
Charles Dang 2015-03-16 04:21:22 +11:00
parent b121264050
commit fae7443e63
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ The <italic>text='Battle for Wesnoth'</italic> project was begun in 2003, and ha
[topic]
id=.unknown_unit
title= _ "Unknown Unit"
text="<img>src=units/unknown-unit.png~RC(magenta>1) align=left float=yes</img>" + _ "
text="<img>src=units/unknown-unit.png~RC(magenta>red) align=left float=yes</img>" + _ "
This unit is unknown for the moment. You must discover it in the game to be allowed to see its description."
[/topic]

View file

@ -742,7 +742,7 @@ void save_preview_pane::draw_contents()
// NOTE: assuming magenta for TC here. This is what's used in all of
// mainline, so the compromise should be good enough until we add more
// summary fields to help with this and deciding the side color range.
const surface& image(image::get_image(leader_image + "~RC(magenta>1)"));
const surface& image(image::get_image(leader_image + "~RC(magenta>red)"));
#endif
have_leader_image = !image.null();