From 195599c13ced01e27b8a7a5844e9f424ba08f4d7 Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Wed, 15 May 2024 01:05:17 +0300 Subject: [PATCH] Don't update head animation if the animation is paused (#7980) --- CHANGELOG.md | 1 + apps/openmw/mwrender/npcanimation.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d9ef163dc..5ffa4a7261 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -172,6 +172,7 @@ Bug #7901: Editor: Teleport-related fields shouldn't be editable if a ref does not teleport Bug #7908: Key bindings names in the settings menu are layout-specific Bug #7943: Using "addSoulGem" and "dropSoulGem" commands to creatures works only with "Weapon & Shield" flagged ones + Bug #7980: Paralyzed NPCs' lips move Feature #2566: Handle NAM9 records for manual cell references Feature #3537: Shader-based water ripples Feature #5173: Support for NiFogProperty diff --git a/apps/openmw/mwrender/npcanimation.cpp b/apps/openmw/mwrender/npcanimation.cpp index 721806d992..9e9d69c399 100644 --- a/apps/openmw/mwrender/npcanimation.cpp +++ b/apps/openmw/mwrender/npcanimation.cpp @@ -155,6 +155,9 @@ namespace MWRender if (!mEnabled) return; + if (dt == 0.f) + return; + if (!MWBase::Environment::get().getSoundManager()->sayActive(mReference)) { mBlinkTimer += dt;