mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 15:44:14 +00:00
Remove a useless cast.
Detected by the upcoming gcc-4.8.
This commit is contained in:
parent
a7572ddf3d
commit
07799ed664
@ -430,7 +430,7 @@ LEVEL_RESULT play_game(display& disp, game_state& gamestate, const config& game_
|
||||
if (gamestate.classification().abbrev.empty())
|
||||
gamestate.classification().label = (*scenario)["name"].str();
|
||||
else {
|
||||
gamestate.classification().label = std::string(gamestate.classification().abbrev);
|
||||
gamestate.classification().label = gamestate.classification().abbrev;
|
||||
gamestate.classification().label.append("-");
|
||||
gamestate.classification().label.append((*scenario)["name"]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user