diff --git a/apps/openmw/mwrender/npcanimation.cpp b/apps/openmw/mwrender/npcanimation.cpp index d39b339df..ee27f710a 100644 --- a/apps/openmw/mwrender/npcanimation.cpp +++ b/apps/openmw/mwrender/npcanimation.cpp @@ -371,7 +371,12 @@ NifOgre::ObjectList NpcAnimation::insertBoundedPart(const std::string &model, in setRenderProperties(objects, mVisibilityFlags, RQG_Main, RQG_Alpha); for(size_t i = 0;i < objects.mEntities.size();i++) - objects.mEntities[i]->getUserObjectBindings().setUserAny(Ogre::Any(group)); + { + Ogre::Entity *ent = objects.mEntities[i]; + ent->getUserObjectBindings().setUserAny(Ogre::Any(group)); + if(mViewMode == VM_FirstPerson) + ent->setCastShadows(false); + } for(size_t i = 0;i < objects.mParticles.size();i++) objects.mParticles[i]->getUserObjectBindings().setUserAny(Ogre::Any(group));