Fix issue when generating a name for a raceless unit
This commit is contained in:
parent
7286ea8e0f
commit
da30504945
1 changed files with 4 additions and 2 deletions
|
@ -56,8 +56,10 @@ unit_race::unit_race() :
|
|||
global_traits_(true),
|
||||
undead_variation_()
|
||||
{
|
||||
name_[MALE] = "";
|
||||
name_[FEMALE] = "";
|
||||
name_[MALE] = "";
|
||||
name_[FEMALE] = "";
|
||||
name_generator_[MALE].reset(new name_generator());
|
||||
name_generator_[FEMALE].reset(new name_generator());
|
||||
}
|
||||
|
||||
unit_race::unit_race(const config& cfg) :
|
||||
|
|
Loading…
Add table
Reference in a new issue