From dae415df663ccc47842fb12747c87a67ffdc0144 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Mon, 5 Dec 2022 19:52:13 +0700 Subject: [PATCH] Disable CHalfLifeMultiplay::Think in training to avoid changing level when time limit has been met and other multiplayer features --- regamedll/dlls/training_gamerules.h | 1 + 1 file changed, 1 insertion(+) diff --git a/regamedll/dlls/training_gamerules.h b/regamedll/dlls/training_gamerules.h index 04ba82f3..3bd75b0d 100644 --- a/regamedll/dlls/training_gamerules.h +++ b/regamedll/dlls/training_gamerules.h @@ -34,6 +34,7 @@ public: CHalfLifeTraining(); virtual ~CHalfLifeTraining() {}; + virtual void Think() {} virtual BOOL IsMultiplayer() { return FALSE; } virtual BOOL IsDeathmatch(); virtual void InitHUD(CBasePlayer *pl);