mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:23:51 +00:00
Use the race ID specified in the ref base's record instead of the race record
The latter is localized and doesn't match with international versions.
This commit is contained in:
parent
6caa39629d
commit
a86ed46ec4
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ NpcAnimation::NpcAnimation(const MWWorld::Ptr& ptr, OEngine::Render::OgreRendere
|
|||
isFemale = !!(ref->base->flags&ESM::NPC::Female);
|
||||
isBeast = !!(race->data.flags&ESM::Race::Beast);
|
||||
|
||||
bodyRaceID = "b_n_"+race->name;
|
||||
bodyRaceID = "b_n_"+ref->base->race;
|
||||
std::transform(bodyRaceID.begin(), bodyRaceID.end(), bodyRaceID.begin(), ::tolower);
|
||||
|
||||
/*std::cout << "Race: " << ref->base->race ;
|
||||
|
|
Loading…
Reference in a new issue