mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 00:11:34 +00:00
cellpreloader.cpp unused variable (#3102)
This commit is contained in:
parent
6669438f7f
commit
e2d0e86020
1 changed files with 0 additions and 4 deletions
|
@ -95,7 +95,6 @@ namespace MWWorld
|
||||||
{
|
{
|
||||||
mesh = Misc::ResourceHelpers::correctActorModelPath(mesh, mSceneManager->getVFS());
|
mesh = Misc::ResourceHelpers::correctActorModelPath(mesh, mSceneManager->getVFS());
|
||||||
|
|
||||||
bool animated = false;
|
|
||||||
size_t slashpos = mesh.find_last_of("/\\");
|
size_t slashpos = mesh.find_last_of("/\\");
|
||||||
if (slashpos != std::string::npos && slashpos != mesh.size()-1)
|
if (slashpos != std::string::npos && slashpos != mesh.size()-1)
|
||||||
{
|
{
|
||||||
|
@ -107,10 +106,7 @@ namespace MWWorld
|
||||||
{
|
{
|
||||||
kfname.replace(kfname.size()-4, 4, ".kf");
|
kfname.replace(kfname.size()-4, 4, ".kf");
|
||||||
if (mSceneManager->getVFS()->exists(kfname))
|
if (mSceneManager->getVFS()->exists(kfname))
|
||||||
{
|
|
||||||
mPreloadedObjects.insert(mKeyframeManager->get(kfname));
|
mPreloadedObjects.insert(mKeyframeManager->get(kfname));
|
||||||
animated = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue