mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed missing messages in Shadow Warrior.
This commit is contained in:
parent
a431d6e190
commit
08e69b1d2e
4 changed files with 7 additions and 5 deletions
|
@ -218,7 +218,7 @@ DoRotatorMatch(PLAYERp pp, short match, SWBOOL manual)
|
|||
else
|
||||
#endif
|
||||
{
|
||||
PutStringInfo(pp, quoteMgr.GetExQuote(QUOTE_DOORMSG + key_num - 1));
|
||||
PutStringInfo(pp, quoteMgr.GetQuote(QUOTE_DOORMSG + key_num - 1));
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -214,7 +214,7 @@ DoSlidorMatch(PLAYERp pp, short match, SWBOOL manual)
|
|||
else
|
||||
#endif
|
||||
{
|
||||
PutStringInfo(pp, quoteMgr.GetExQuote(QUOTE_DOORMSG + key_num - 1));
|
||||
PutStringInfo(pp, quoteMgr.GetQuote(QUOTE_DOORMSG + key_num - 1));
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5763,7 +5763,9 @@ KeyMain:
|
|||
{
|
||||
int cookie = (adult_lockout || Global_PLock)? STD_RANDOM_RANGE(10) : STD_RANDOM_RANGE(MAX_FORTUNES);
|
||||
// print to the console, and if active to the generic notify display.
|
||||
Printf(PRINT_NOTIFY, TEXTCOLOR_SAPPHIRE "%s: %s\n", GStrings("TXTS_FORTUNE"), quoteMgr.GetQuote(QUOTE_COOKIE + cookie));
|
||||
FStringf msg(TEXTCOLOR_SAPPHIRE "%s: %s", GStrings("TXTS_FORTUNE"), quoteMgr.GetQuote(QUOTE_COOKIE + cookie));
|
||||
Printf("%s\n", msg.GetChars());
|
||||
adduserquote(msg.GetChars());
|
||||
}
|
||||
|
||||
SetFadeAmt(pp,ITEMFLASHAMT,ITEMFLASHCLR); // Flash blue on item pickup
|
||||
|
|
|
@ -200,7 +200,7 @@ short DoVatorOperate(PLAYERp pp, short sectnum)
|
|||
else
|
||||
#endif
|
||||
{
|
||||
PutStringInfo(pp, quoteMgr.GetExQuote(QUOTE_DOORMSG + key_num - 1));
|
||||
PutStringInfo(pp, quoteMgr.GetQuote(QUOTE_DOORMSG + key_num - 1));
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
@ -268,7 +268,7 @@ DoVatorMatch(PLAYERp pp, short match)
|
|||
else
|
||||
#endif
|
||||
{
|
||||
PutStringInfo(pp, quoteMgr.GetExQuote(QUOTE_DOORMSG + key_num - 1));
|
||||
PutStringInfo(pp, quoteMgr.GetQuote(QUOTE_DOORMSG + key_num - 1));
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue