From: divverent Date: Tue, 19 Apr 2011 16:32:51 +0000 (+0000) Subject: fix a bug in cvar hash handling X-Git-Tag: xonotic-v0.6.0~163^2~477 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=5ab3806d3f3da35d8db4481f65cdd629a344a464 fix a bug in cvar hash handling causing loadconfig to mess up cvar hashing git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11069 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cvar.c b/cvar.c index 221a5244..707c54c5 100644 --- a/cvar.c +++ b/cvar.c @@ -758,7 +758,7 @@ void Cvar_RestoreInitState(void) break; } else - cp2 = &c2->next; + cp2 = &c2->nextonhashchain; } // unlink struct from main list *cp = c->next;