mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- fixed: With hud_messages == 1 no messages were printed.
This commit is contained in:
parent
8643459cbe
commit
342b90c8f9
2 changed files with 3 additions and 1 deletions
|
@ -780,7 +780,7 @@ void FNotifyBuffer::AddString(int printlevel, FString source)
|
|||
TArray<FBrokenLines> lines;
|
||||
int width;
|
||||
|
||||
if (hud_messages != 2 ||
|
||||
if (hud_messages == 0 ||
|
||||
source.IsEmpty() ||
|
||||
gamestate == GS_FULLCONSOLE ||
|
||||
gamestate == GS_DEMOSCREEN ||
|
||||
|
|
|
@ -153,11 +153,13 @@ void FTA(int q, struct player_struct* p)
|
|||
auto qu = quoteMgr.GetQuote(q);
|
||||
if (p == &ps[screenpeek] && qu[0] != '\0')
|
||||
{
|
||||
#if 0
|
||||
if (q >= 70 && q <= 72 && hud_messages == 2)
|
||||
{
|
||||
// Todo: redirect this to a centered message (these are "need a key" messages)
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
int printlevel = hud_messages == 1 ? PRINT_MEDIUM : PRINT_MEDIUM | PRINT_NOTIFY;
|
||||
Printf(printlevel, "%s\n", qu);
|
||||
|
|
Loading…
Reference in a new issue