Guess what. It's not 2005 anymore.
SVN r184 (trunk)
This commit is contained in:
parent
5859aa7194
commit
e2179d5c2d
148 changed files with 903 additions and 977 deletions
|
|
@ -3,7 +3,7 @@
|
|||
** Implements the console itself
|
||||
**
|
||||
**---------------------------------------------------------------------------
|
||||
** Copyright 1998-2005 Randy Heit
|
||||
** Copyright 1998-2006 Randy Heit
|
||||
** All rights reserved.
|
||||
**
|
||||
** Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -482,20 +482,20 @@ void C_DeinitConsole ()
|
|||
HistTail = HistHead = HistPos = NULL;
|
||||
|
||||
// Free cvars allocated at runtime
|
||||
FBaseCVar *var, *next, **nextp;
|
||||
for (var = CVars, nextp = &CVars; var != NULL; var = next)
|
||||
{
|
||||
next = var->m_Next;
|
||||
if (var->GetFlags() & CVAR_UNSETTABLE)
|
||||
{
|
||||
delete var;
|
||||
*nextp = next;
|
||||
}
|
||||
else
|
||||
{
|
||||
nextp = &var->m_Next;
|
||||
}
|
||||
}
|
||||
FBaseCVar *var, *next, **nextp;
|
||||
for (var = CVars, nextp = &CVars; var != NULL; var = next)
|
||||
{
|
||||
next = var->m_Next;
|
||||
if (var->GetFlags() & CVAR_UNSETTABLE)
|
||||
{
|
||||
delete var;
|
||||
*nextp = next;
|
||||
}
|
||||
else
|
||||
{
|
||||
nextp = &var->m_Next;
|
||||
}
|
||||
}
|
||||
|
||||
// Free alias commands. (i.e. The "commands" that can be allocated
|
||||
// at runtime.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue