1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-04-01 13:06:43 +00:00

Fix creature model instance preloading

This commit is contained in:
bzzt 2019-02-20 13:37:00 +00:00 committed by Capostrophic
parent 8c649f05e6
commit bcbee08a1b

View file

@ -1436,7 +1436,7 @@ namespace MWRender
return sceneMgr->createInstance(found->second); return sceneMgr->createInstance(found->second);
} }
else else
return sceneMgr->createInstance(model); return sceneMgr->getInstance(model);
} }
void Animation::setObjectRoot(const std::string &model, bool forceskeleton, bool baseonly, bool isCreature) void Animation::setObjectRoot(const std::string &model, bool forceskeleton, bool baseonly, bool isCreature)