From 0fa04c94f2669c1f23f844956d41ed0997ba34f6 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Tue, 6 Aug 2024 18:55:23 +0800 Subject: [PATCH] [saco] Rename `CEntity::FUNC_1009EEB0()` to `CEntity::GetDistanceFromCentreOfMassToBaseOfModel()` --- 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 ed8e0ce..f67857a 100644 --- a/saco/game/entity.cpp +++ b/saco/game/entity.cpp @@ -149,7 +149,7 @@ void CEntity::ApplyTurnSpeed() //----------------------------------------------------------- -float CEntity::FUNC_1009EEB0() +float CEntity::GetDistanceFromCentreOfMassToBaseOfModel() { DWORD dwEnt = (DWORD)m_pEntity; float fResult = 0.0f; diff --git a/saco/game/entity.h b/saco/game/entity.h index 989d4d1..d9a2b29 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); - float FUNC_1009EEB0(); // unused void FUNC_1009EEF0(PVECTOR Vector); void FUNC_1009EF20(int a2); // unused void ApplyTurnSpeed(); // unused + float GetDistanceFromCentreOfMassToBaseOfModel(); // unused UINT GetModelIndex(); void TeleportTo(float x, float y, float z);