mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
fix xbase to baseanim
This commit is contained in:
parent
3194520dcd
commit
83ee1cc582
@ -418,7 +418,7 @@ namespace MWClass
|
||||
{
|
||||
const MWWorld::LiveCellRef<ESM::NPC> *ref = ptr.get<ESM::NPC>();
|
||||
|
||||
std::string model = Settings::Manager::getString("xbaseanim", "Models");
|
||||
std::string model = Settings::Manager::getString("baseanim", "Models");
|
||||
const ESM::Race* race = MWBase::Environment::get().getWorld()->getStore().get<ESM::Race>().find(ref->mBase->mRace);
|
||||
if(race->mData.mFlags & ESM::Race::Beast)
|
||||
model = Settings::Manager::getString("baseanimkna", "Models");
|
||||
|
Loading…
Reference in New Issue
Block a user