]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a bug in cvar hash handling
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 19 Apr 2011 16:32:51 +0000 (16:32 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 19 Apr 2011 16:31:11 +0000 (18:31 +0200)
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

cvar.c

diff --git a/cvar.c b/cvar.c
index 221a52447da5acea64cfb4ab5f2b04460c8dd2ca..707c54c5c0641b73528aa6c0b778b7845302d787 100644 (file)
--- 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;