removed unneeded [unit] tags in unit.cfg_

This commit is contained in:
Eugen Jiresch 2009-09-08 10:00:32 +00:00
parent 675404df75
commit 3936d460e8

View file

@ -1284,6 +1284,8 @@ void unit::read(const config& cfg, bool use_traits, game_state* state)
cfg_ = cfg;
cfg_.clear_children("unit"); //remove underlying unit definitions from scenario files
// @todo: FIXME Compatibility hack for unit renames, can be removed for 1.7.5.
if (cfg_["type"] == "Drake Gladiator") {
cfg_["type"] = "Drake Thrasher";