New game crash fix

c++11
scrawl 10 years ago
parent 0fb59178b6
commit 8092f37ce5

@ -351,12 +351,6 @@ namespace MWRender
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;
processViewChange();

Loading…
Cancel
Save