Switch ConVar, CoreConfig off KTrie (bug 5884 part 8, r=ds).

This commit is contained in:
David Anderson
2013-08-25 12:13:30 -07:00
parent 3850765759
commit 77c7b312ea
4 changed files with 16 additions and 22 deletions
+6 -1
View File
@@ -1,5 +1,5 @@
/**
* vim: set ts=4 :
* vim: set ts=4 sw=4 tw=99 noet :
* =============================================================================
* SourceMod
* Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved.
@@ -65,6 +65,11 @@ struct ConVarInfo
IChangeableForward *pChangeForward; /**< Forward associated with convar */
ConVar *pVar; /**< The actual convar */
List<IConVarChangeListener *> changeListeners;
static inline bool matches(const char *name, const ConVarInfo *info)
{
return strcmp(name, info->pVar->GetName()) == 0;
}
};
/**