mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 11:55:49 +00:00
Make Wesnoth more compatible with C++0x (g++-4.5).
This commit is contained in:
parent
1f9ce8fe2b
commit
6df60d800c
@ -314,7 +314,7 @@ report generate_report(TYPE type,
|
||||
}
|
||||
|
||||
int grey = 128 + static_cast<int>((255-128) * movement_frac);
|
||||
SDL_Color c = { grey, grey, grey, 0 };
|
||||
SDL_Color c = create_color(grey, grey, grey);
|
||||
str << span_color(c) << u->movement_left()
|
||||
<< '/' << u->total_movement() << naps;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user