Removed useless cast. (Fix for bug #16795.)

This commit is contained in:
Guillaume Melquiond 2010-10-01 19:53:43 +00:00
parent 035a7976e3
commit 92c21e6362

View file

@ -256,9 +256,9 @@ void team::team_info::write(config& cfg) const
if(music.empty() == false)
cfg["music"] = music;
cfg["color"] = str_cast(color);
cfg["color"] = color;
///@deprecated 1.9.2 'colour' also written in team
cfg["colour"] = str_cast(color);
cfg["colour"] = color;
cfg["persistent"] = persistent;