fix bug #6240 (quick units with random traits do not receive full movement)
This commit is contained in:
parent
a6d389f4b2
commit
46b8f1b699
1 changed files with 2 additions and 0 deletions
|
@ -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"]);
|
||||
|
|
Loading…
Add table
Reference in a new issue