From 34d4b0518547670aeb0aef3fe8a638c33a897ae6 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 6 Oct 2013 12:36:32 -0400 Subject: [PATCH] Added SetNext to ConCommandBase, required for MM:S. --- public/tier1/convar.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/tier1/convar.h b/public/tier1/convar.h index 7cf21f53..9df80101 100644 --- a/public/tier1/convar.h +++ b/public/tier1/convar.h @@ -130,6 +130,11 @@ public: // Deal with next pointer const ConCommandBase *GetNext( void ) const; ConCommandBase *GetNext( void ); + + inline void SetNext(ConCommandBase *pBase) + { + m_pNext = pBase; + } virtual bool IsRegistered( void ) const;