From 7c0eabfd64b1ad8ac2eb68bf3d33afe2abbe01f7 Mon Sep 17 00:00:00 2001 From: Nick Hastings Date: Sun, 2 Apr 2023 11:51:42 -0400 Subject: [PATCH] Fix return type on TakeConVarSnapshot --- public/icvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/icvar.h b/public/icvar.h index 8bb4a0fc..9ffbf9a9 100644 --- a/public/icvar.h +++ b/public/icvar.h @@ -86,7 +86,7 @@ public: virtual void ResetConVarsToDefaultValues(const char *pszSearchString) = 0; - virtual ConVarSnapshot_t TakeConVarSnapshot() = 0; + virtual ConVarSnapshot_t *TakeConVarSnapshot() = 0; virtual void ResetConVarsFromSnapshot(ConVarSnapshot_t *snapshot) = 0; virtual void DestroyConVarSnapshot(ConVarSnapshot_t *snapshot) = 0;