From fd08c242aef53092fa4151b1388f013904131ccc Mon Sep 17 00:00:00 2001 From: dannuic Date: Thu, 30 Apr 2026 00:38:51 -0600 Subject: [PATCH] Couple of lingering issues --- zone/client_version.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zone/client_version.h b/zone/client_version.h index b1ca4c5d7..f0f9fddba 100644 --- a/zone/client_version.h +++ b/zone/client_version.h @@ -18,8 +18,6 @@ #pragma once -#include - #include "common/emu_versions.h" #include "common/patches/client_version.h" #include "common/patches/IBuff.h" @@ -28,6 +26,8 @@ #include "zone/client.h" #include "zone/mob.h" +#include + // store all _generic_ static functions for the different patches here namespace ClientPatch { @@ -37,7 +37,7 @@ using SendPredicate = std::function; using MutatePacket = std::function&, Client*)>; template -static Component* GetClientComponent(const Client* client) +Component* GetClientComponent(const Client* client) { return GetComponent(client->GetClientVersion()).get(); }