From a3d33b084716cdf471f8512a8e95cb668de9a6f8 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Tue, 6 Aug 2024 18:56:37 +0800 Subject: [PATCH] [saco] Rename `CEntity::FUNC_1009EEF0(...)` to `CEntity::GetBoundCentre(...)` --- saco/game/entity.cpp | 2 +- saco/game/entity.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/saco/game/entity.cpp b/saco/game/entity.cpp index f67857a..141353b 100644 --- a/saco/game/entity.cpp +++ b/saco/game/entity.cpp @@ -166,7 +166,7 @@ float CEntity::GetDistanceFromCentreOfMassToBaseOfModel() //----------------------------------------------------------- -void CEntity::FUNC_1009EEF0(PVECTOR Vector) +void CEntity::GetBoundCentre(PVECTOR Vector) { DWORD dwEnt = (DWORD)m_pEntity; if(!dwEnt) return; diff --git a/saco/game/entity.h b/saco/game/entity.h index d9a2b29..4fae0b3 100644 --- a/saco/game/entity.h +++ b/saco/game/entity.h @@ -19,10 +19,10 @@ public: void FUNC_1009ED40(float fX, float fY, float fZ); // unused void GetTurnSpeedVector(PVECTOR Vector); void SetTurnSpeedVector(VECTOR Vector); - void FUNC_1009EEF0(PVECTOR Vector); void FUNC_1009EF20(int a2); // unused void ApplyTurnSpeed(); // unused float GetDistanceFromCentreOfMassToBaseOfModel(); // unused + void GetBoundCentre(PVECTOR Vector); UINT GetModelIndex(); void TeleportTo(float x, float y, float z);