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.5.0~263 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fe2e749b459373ae6e2042192adb1968afc62706;p=xonotic%2Fdarkplaces.git 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 ::stable-branch::merge=5ab3806d3f3da35d8db4481f65cdd629a344a464 --- 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;