From 8644b8393b1fcc3140f98e33ba0b23515da28c65 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 24 Mar 2020 21:28:13 -0400 Subject: [PATCH] CEntity: Add parameter names to interface Allows IDEs to perform better parameter inspection. --- Runtime/World/CEntity.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/World/CEntity.hpp b/Runtime/World/CEntity.hpp index 912126227..83825c46a 100644 --- a/Runtime/World/CEntity.hpp +++ b/Runtime/World/CEntity.hpp @@ -37,8 +37,8 @@ public: virtual ~CEntity() = default; CEntity(TUniqueId uid, const CEntityInfo& info, bool active, std::string_view name); virtual void Accept(IVisitor& visitor) = 0; - virtual void PreThink(float, CStateManager&) {} - virtual void Think(float, CStateManager&) {} + virtual void PreThink(float dt, CStateManager& mgr) {} + virtual void Think(float dt, CStateManager& mgr) {} virtual void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr); virtual void SetActive(bool active) { x30_24_active = active; }