From c0d9d4462ba08189d2d36698d27f208d14b80272 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Thu, 19 Jan 2023 01:59:11 +0100 Subject: [PATCH] Improve CAnimationLayer Field 'm_animationLayerOwner' is CBaseEntity*. --- r5dev/game/shared/animation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/r5dev/game/shared/animation.h b/r5dev/game/shared/animation.h index 9c0d79a9..249bbc9e 100644 --- a/r5dev/game/shared/animation.h +++ b/r5dev/game/shared/animation.h @@ -1,6 +1,7 @@ #ifndef ANIMATION_H #define ANIMATION_H #include "mathlib/vector.h" +#include "public/baseentity.h" class CAnimationLayer { @@ -15,7 +16,7 @@ class CAnimationLayer int m_nPriority; float m_flLastEventCheck; char gap_24[4]; - void* m_animationLayerOwner; + CBaseEntity* m_animationLayerOwner; }; struct __declspec(align(8)) PredictedAnimEventData