mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
Remix r5063
git-svn-id: https://svn.eduke32.com/eduke32@6630 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b497a6cbde
commit
874b7df3aa
1 changed files with 4 additions and 7 deletions
|
@ -2760,13 +2760,10 @@ void C_InitQuotes(void)
|
|||
#ifdef EDUKE32_TOUCH_DEVICES
|
||||
apStrings[QUOTE_DEAD] = 0;
|
||||
#else
|
||||
char const * const replacement_USE = "USE";
|
||||
if (!Bstrstr(apStrings[QUOTE_DEAD], replacement_USE))
|
||||
{
|
||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "SPACE", replacement_USE);
|
||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "OPEN", replacement_USE);
|
||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "ANY BUTTON", replacement_USE);
|
||||
}
|
||||
static constexpr char const * const OpenGameFunc = gamefunctions[gamefunc_Open];
|
||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "SPACE", OpenGameFunc);
|
||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "OPEN", OpenGameFunc);
|
||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "USE", OpenGameFunc);
|
||||
#endif
|
||||
|
||||
// most of these are based on Blood, obviously
|
||||
|
|
Loading…
Reference in a new issue