animation smoothing: don't interpolate hellhound defence animation

This commit is contained in:
Adam
2018-06-25 08:17:01 -04:00
parent 714a533735
commit 8247163fee
2 changed files with 4 additions and 1 deletions

View File

@@ -24,6 +24,7 @@
*/
package net.runelite.mixins;
import net.runelite.api.AnimationID;
import net.runelite.api.NPCComposition;
import net.runelite.api.events.NpcDespawned;
import net.runelite.api.mixins.Copy;
@@ -115,7 +116,8 @@ public abstract class RSNPCMixin implements RSNPC
@Replace("getModel")
public RSModel rl$getModel()
{
if (!client.isInterpolateNpcAnimations())
if (!client.isInterpolateNpcAnimations()
|| getAnimation() == AnimationID.HELLHOUND_DEFENCE)
{
return rs$getModel();
}