Merge branch 'fix_hand_model' into 'master'

Fix #7506

Closes #7506

See merge request OpenMW/openmw!3335
macos_ci_fix
psi29a 1 year ago
commit f9910290e0

@ -423,12 +423,16 @@ namespace MWMechanics
ESM::NPC player = *world->getPlayerPtr().get<ESM::NPC>()->mBase;
player.mRace = race;
player.mHead = head;
player.mHair = hair;
player.setIsMale(male);
if (player.mRace != race || player.mHead != head || player.mHair != hair || player.isMale() != male)
{
player.mRace = race;
player.mHead = head;
player.mHair = hair;
player.setIsMale(male);
world->getStore().insert(player);
world->getStore().insert(player);
world->renderPlayer();
}
mRaceSelected = true;
buildPlayer();

Loading…
Cancel
Save