fix bug #6240 (quick units with random traits do not receive full movement)

This commit is contained in:
Dominic Bolin 2006-06-26 12:16:46 +00:00
parent a6d389f4b2
commit 46b8f1b699

View file

@ -1149,6 +1149,8 @@ void unit::read(const config& cfg)
attacks_left_ = 0;
movement_ = 0;
}
} else {
movement_ = max_movement_;
}
experience_ = lexical_cast_default<int>(cfg["experience"]);
resting_ = utils::string_bool(cfg["resting"]);