mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 01:23:53 +00:00
New game crash fix
This commit is contained in:
parent
0fb59178b6
commit
8092f37ce5
1 changed files with 0 additions and 6 deletions
|
@ -351,12 +351,6 @@ namespace MWRender
|
||||||
|
|
||||||
void Camera::setAnimation(NpcAnimation *anim)
|
void Camera::setAnimation(NpcAnimation *anim)
|
||||||
{
|
{
|
||||||
// If we're switching to a new NpcAnimation, ensure the old one is
|
|
||||||
// using a normal view mode
|
|
||||||
if(mAnimation && mAnimation != anim)
|
|
||||||
{
|
|
||||||
mAnimation->setViewMode(NpcAnimation::VM_Normal);
|
|
||||||
}
|
|
||||||
mAnimation = anim;
|
mAnimation = anim;
|
||||||
|
|
||||||
processViewChange();
|
processViewChange();
|
||||||
|
|
Loading…
Reference in a new issue