mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Rename con_numnotify to con_notifylines.
Zandronum 1.1 added an option with the same purpose. Use it to avoid duplicates.
This commit is contained in:
parent
f123da9385
commit
104030697f
1 changed files with 5 additions and 5 deletions
|
@ -404,9 +404,9 @@ private:
|
|||
};
|
||||
static FNotifyBuffer NotifyStrings;
|
||||
|
||||
CUSTOM_CVAR(Int, con_numnotify, NUMNOTIFIES, CVAR_GLOBALCONFIG | CVAR_ARCHIVE)
|
||||
CUSTOM_CVAR(Int, con_notifylines, NUMNOTIFIES, CVAR_GLOBALCONFIG | CVAR_ARCHIVE)
|
||||
{
|
||||
NotifyStrings.Shift(con_numnotify);
|
||||
NotifyStrings.Shift(self);
|
||||
}
|
||||
|
||||
|
||||
|
@ -711,7 +711,7 @@ void FNotifyBuffer::AddString(int printlevel, FString source)
|
|||
source.IsEmpty() ||
|
||||
gamestate == GS_FULLCONSOLE ||
|
||||
gamestate == GS_DEMOSCREEN ||
|
||||
con_numnotify == 0)
|
||||
con_notifylines == 0)
|
||||
return;
|
||||
|
||||
if (ConsoleDrawing)
|
||||
|
@ -755,9 +755,9 @@ void FNotifyBuffer::AddString(int printlevel, FString source)
|
|||
newline.PrintLevel = printlevel;
|
||||
if (AddType == NEWLINE || Text.Size() == 0)
|
||||
{
|
||||
if (con_numnotify > 0)
|
||||
if (con_notifylines > 0)
|
||||
{
|
||||
Shift(con_numnotify - 1);
|
||||
Shift(con_notifylines - 1);
|
||||
}
|
||||
Text.Push(newline);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue