From 08fb5f67848a615a1ab1d76d053bd95980e605a6 Mon Sep 17 00:00:00 2001 From: NightFyre <80198020+xCENTx@users.noreply.github.com> Date: Sat, 2 Aug 2025 11:42:51 -0400 Subject: [PATCH] Add m_entity member to CNodeEx Introduces a public pointer to CEntity in the CNodeEx class for potential entity access. --- src/gamez/zNode/znode.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gamez/zNode/znode.h b/src/gamez/zNode/znode.h index dde3611..dd1b128 100644 --- a/src/gamez/zNode/znode.h +++ b/src/gamez/zNode/znode.h @@ -410,6 +410,9 @@ namespace zdb virtual void OnMove(CNode* node) {} virtual void OnSelect(CNode* node, bool selected) {} virtual void OnWeaponHit(CNode* node, IntersectStruct* intersection, CZProjectile* projectile) {} + + public: + class CEntity* m_entity; }; class CModel : public CNode