summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-29 11:37:06 +0100
committeraap <aap@papnet.eu>2020-11-29 11:37:06 +0100
commit566282057abbc8e9d5f331c8125a38b00b39fee0 (patch)
treed91ee90f1ff59ebed22639f7d13421bdedc59823 /src
parentfix backface culling on vehicles (diff)
downloadre3-566282057abbc8e9d5f331c8125a38b00b39fee0.tar
re3-566282057abbc8e9d5f331c8125a38b00b39fee0.tar.gz
re3-566282057abbc8e9d5f331c8125a38b00b39fee0.tar.bz2
re3-566282057abbc8e9d5f331c8125a38b00b39fee0.tar.lz
re3-566282057abbc8e9d5f331c8125a38b00b39fee0.tar.xz
re3-566282057abbc8e9d5f331c8125a38b00b39fee0.tar.zst
re3-566282057abbc8e9d5f331c8125a38b00b39fee0.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/Frontend.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index b84b691d..318e5903 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -4157,12 +4157,22 @@ CMenuManager::ProcessButtonPresses(void)
DoSettingsBeforeStartingAGame();
return;
}
+ if (glfwGetKey(PSGLOBAL(window), GLFW_KEY_D) == GLFW_PRESS) {
+ scriptToLoad = 2;
+ DoSettingsBeforeStartingAGame();
+ return;
+ }
#elif defined _WIN32
if (GetAsyncKeyState('R') & 0x8000) {
scriptToLoad = 1;
DoSettingsBeforeStartingAGame();
return;
}
+ if (GetAsyncKeyState('D') & 0x8000) {
+ scriptToLoad = 2;
+ DoSettingsBeforeStartingAGame();
+ return;
+ }
#endif
}
#endif