From 1ec338f19d86bcf316d9199e7483057426358008 Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 3 Dec 2015 20:11:28 +0100 Subject: [PATCH] Don't attempt to load external keyframes for non-NIF files --- apps/openmw/mwrender/animation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/mwrender/animation.cpp b/apps/openmw/mwrender/animation.cpp index bc417dae2..7a2cce7c9 100644 --- a/apps/openmw/mwrender/animation.cpp +++ b/apps/openmw/mwrender/animation.cpp @@ -394,6 +394,8 @@ namespace MWRender if(kfname.size() > 4 && kfname.compare(kfname.size()-4, 4, ".nif") == 0) kfname.replace(kfname.size()-4, 4, ".kf"); + else + return; if(!mResourceSystem->getVFS()->exists(kfname)) return;