- Applied Chilly's patch to fix excessive name change notifications.
This commit is contained in:
parent
e5d7077d74
commit
7af8b78b9f
2 changed files with 5 additions and 2 deletions
|
|
@ -861,7 +861,7 @@ void D_ReadUserInfoStrings (int pnum, BYTE **stream, bool update)
|
|||
val.String = CleanseString(value.LockBuffer());
|
||||
(*cvar_ptr)->SetGenericRep(val, CVAR_String);
|
||||
value.UnlockBuffer();
|
||||
if (keyname == NAME_Name && update && oldname != value)
|
||||
if (keyname == NAME_Name && update && oldname.Compare (value))
|
||||
{
|
||||
Printf("%s is now known as %s\n", oldname.GetChars(), value.GetChars());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue