From 0af97d98bbe31af26395ba616d4be6a089f691b6 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Fri, 24 Nov 2023 22:47:08 +0700 Subject: [PATCH] Add reg cvar r_cachestudio --- rehlds/engine/host.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rehlds/engine/host.cpp b/rehlds/engine/host.cpp index 31560b7..673b329 100644 --- a/rehlds/engine/host.cpp +++ b/rehlds/engine/host.cpp @@ -1197,7 +1197,11 @@ int Host_Init(quakeparms_t *parms) else { Cvar_RegisterVariable(&suitvolume); +#ifdef REHLDS_FIXES + Cvar_RegisterVariable(&r_cachestudio); +#endif } + Cbuf_InsertText("exec valve.rc\n"); Hunk_AllocName(0, "-HOST_HUNKLEVEL-"); host_hunklevel = Hunk_LowMark();