From aa6bcbbc36dae5e67d9bb8131f26432652f043e7 Mon Sep 17 00:00:00 2001 From: "zer0.k" <61156310+zer0k-z@users.noreply.github.com> Date: Mon, 21 Sep 2026 22:00:31 +0200 Subject: [PATCH] Update IRefCounted & fix missing includes on some headers (#421) --- game/shared/igamesystem.h | 3 +++ public/iloopmode.h | 1 + public/tier1/refcount.h | 1 + 3 files changed, 5 insertions(+) diff --git a/game/shared/igamesystem.h b/game/shared/igamesystem.h index 7e670572..cdd86828 100644 --- a/game/shared/igamesystem.h +++ b/game/shared/igamesystem.h @@ -13,6 +13,9 @@ #include "network_connection.pb.h" #include "iloopmode.h" +#include "entityhandle.h" +#include "entity2/entityidentity.h" +#include "tier1/utlstring.h" /* * AMNOTE: To create your own gamesystem, you need to inherit from CBaseGameSystem or CAutoGameSystem, diff --git a/public/iloopmode.h b/public/iloopmode.h index 10e4d30c..3371cf6e 100644 --- a/public/iloopmode.h +++ b/public/iloopmode.h @@ -14,6 +14,7 @@ #include #include #include +#include class ISource2WorldSession; class ISceneView; diff --git a/public/tier1/refcount.h b/public/tier1/refcount.h index 351e2077..a9b2c4ff 100644 --- a/public/tier1/refcount.h +++ b/public/tier1/refcount.h @@ -23,6 +23,7 @@ class IRefCounted { public: + virtual ~IRefCounted() {} virtual int AddRef() = 0; virtual int Release() = 0; };