mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-27 04:40:26 +00:00
Merge pull request #2356 from akortunov/animfix
Do not use the xbase_anim.kf as a fallback for werewolves
This commit is contained in:
commit
c3cebbfaf6
2 changed files with 3 additions and 2 deletions
|
@ -82,6 +82,7 @@
|
||||||
Bug #4984: "Friendly hits" feature should be used only for player's followers
|
Bug #4984: "Friendly hits" feature should be used only for player's followers
|
||||||
Bug #4989: Object dimension-dependent VFX scaling behavior is inconsistent
|
Bug #4989: Object dimension-dependent VFX scaling behavior is inconsistent
|
||||||
Bug #4990: Dead bodies prevent you from hitting
|
Bug #4990: Dead bodies prevent you from hitting
|
||||||
|
Bug #5004: Werewolves shield their eyes during storm
|
||||||
Feature #1774: Handle AvoidNode
|
Feature #1774: Handle AvoidNode
|
||||||
Feature #2229: Improve pathfinding AI
|
Feature #2229: Improve pathfinding AI
|
||||||
Feature #3025: Analogue gamepad movement controls
|
Feature #3025: Analogue gamepad movement controls
|
||||||
|
|
|
@ -493,7 +493,7 @@ void NpcAnimation::updateNpcBase()
|
||||||
if(!is1stPerson)
|
if(!is1stPerson)
|
||||||
{
|
{
|
||||||
const std::string base = "meshes\\xbase_anim.nif";
|
const std::string base = "meshes\\xbase_anim.nif";
|
||||||
if (smodel != base)
|
if (smodel != base && !isWerewolf)
|
||||||
addAnimSource(base, smodel);
|
addAnimSource(base, smodel);
|
||||||
|
|
||||||
if (smodel != defaultSkeleton && base != defaultSkeleton)
|
if (smodel != defaultSkeleton && base != defaultSkeleton)
|
||||||
|
@ -507,7 +507,7 @@ void NpcAnimation::updateNpcBase()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const std::string base = "meshes\\xbase_anim.1st.nif";
|
const std::string base = "meshes\\xbase_anim.1st.nif";
|
||||||
if (smodel != base)
|
if (smodel != base && !isWerewolf)
|
||||||
addAnimSource(base, smodel);
|
addAnimSource(base, smodel);
|
||||||
|
|
||||||
addAnimSource(smodel, smodel);
|
addAnimSource(smodel, smodel);
|
||||||
|
|
Loading…
Reference in a new issue