mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-03-03 15:31:11 +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
|
#ifdef EDUKE32_TOUCH_DEVICES
|
||||||
apStrings[QUOTE_DEAD] = 0;
|
apStrings[QUOTE_DEAD] = 0;
|
||||||
#else
|
#else
|
||||||
char const * const replacement_USE = "USE";
|
static constexpr char const * const OpenGameFunc = gamefunctions[gamefunc_Open];
|
||||||
if (!Bstrstr(apStrings[QUOTE_DEAD], replacement_USE))
|
C_ReplaceQuoteSubstring(QUOTE_DEAD, "SPACE", OpenGameFunc);
|
||||||
{
|
C_ReplaceQuoteSubstring(QUOTE_DEAD, "OPEN", OpenGameFunc);
|
||||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "SPACE", replacement_USE);
|
C_ReplaceQuoteSubstring(QUOTE_DEAD, "USE", OpenGameFunc);
|
||||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "OPEN", replacement_USE);
|
|
||||||
C_ReplaceQuoteSubstring(QUOTE_DEAD, "ANY BUTTON", replacement_USE);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// most of these are based on Blood, obviously
|
// most of these are based on Blood, obviously
|
||||||
|
|
Loading…
Reference in a new issue