mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 15:28:42 +00:00
fixed ordering of flag color
This commit is contained in:
parent
5f3adfb464
commit
d9e9c935bc
@ -134,7 +134,7 @@ namespace game_config
|
|||||||
flag_rgb = string2rgb(v["flag_rgb"]);
|
flag_rgb = string2rgb(v["flag_rgb"]);
|
||||||
if( !flag_rgb.size()){
|
if( !flag_rgb.size()){
|
||||||
//set green as old_flag_color
|
//set green as old_flag_color
|
||||||
for(int i=0;i!=256;i++){
|
for(int i=255;i!=0;i--){
|
||||||
flag_rgb.push_back((Uint32)(i<<8));
|
flag_rgb.push_back((Uint32)(i<<8));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user