mirror of https://github.com/OpenMW/openmw.git
Avoid using settings in components to get actor model
Settings::Values are initialized only for engine. Accessing them from other binaries leads to a crash.macos_ci_fix
parent
5d21d2758f
commit
1d94527a19
@ -1,9 +1,9 @@
|
|||||||
#ifndef OPENMW_COMPONENTS_SCENEUTIL_ACTORUTIL_HPP
|
#ifndef OPENMW_APPS_OPENMW_MWRENDER_ACTORUTIL_H
|
||||||
#define OPENMW_COMPONENTS_SCENEUTIL_ACTORUTIL_HPP
|
#define OPENMW_APPS_OPENMW_MWRENDER_ACTORUTIL_H
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace SceneUtil
|
namespace MWRender
|
||||||
{
|
{
|
||||||
const std::string& getActorSkeleton(bool firstPerson, bool female, bool beast, bool werewolf);
|
const std::string& getActorSkeleton(bool firstPerson, bool female, bool beast, bool werewolf);
|
||||||
}
|
}
|
Loading…
Reference in New Issue