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(); }