forked from teamnwah/openmw-tes3coop
Save a proto gender in racemenu
This commit is contained in:
parent
00e06095c1
commit
fb0c4700a4
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ namespace MWGui
|
||||||
|
|
||||||
const ESM::NPC& proto = mPreview->getPrototype();
|
const ESM::NPC& proto = mPreview->getPrototype();
|
||||||
setRaceId(proto.mRace);
|
setRaceId(proto.mRace);
|
||||||
|
setGender(proto.isMale() ? GM_Male : GM_Female);
|
||||||
recountParts();
|
recountParts();
|
||||||
|
|
||||||
for (unsigned int i=0; i<mAvailableHeads.size(); ++i)
|
for (unsigned int i=0; i<mAvailableHeads.size(); ++i)
|
||||||
|
|
Loading…
Reference in a new issue