Remove a useless cast.

Detected by the upcoming gcc-4.8.
This commit is contained in:
Mark de Wever 2012-08-25 16:14:54 +00:00
parent a7572ddf3d
commit 07799ed664

View File

@ -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"]);
}