summaryrefslogtreecommitdiffstats
path: root/src/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-01 23:17:39 +0200
committeraap <aap@papnet.eu>2019-06-01 23:28:13 +0200
commitb63c87e8a619d448724d8532408973d850547d59 (patch)
treee75b7dfa53e02bd4feb33de0a90190279a8b5bab /src/re3.cpp
parentadded CPointLights (diff)
downloadre3-b63c87e8a619d448724d8532408973d850547d59.tar
re3-b63c87e8a619d448724d8532408973d850547d59.tar.gz
re3-b63c87e8a619d448724d8532408973d850547d59.tar.bz2
re3-b63c87e8a619d448724d8532408973d850547d59.tar.lz
re3-b63c87e8a619d448724d8532408973d850547d59.tar.xz
re3-b63c87e8a619d448724d8532408973d850547d59.tar.zst
re3-b63c87e8a619d448724d8532408973d850547d59.zip
Diffstat (limited to '')
-rw-r--r--src/re3.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/re3.cpp b/src/re3.cpp
index e99384e1..b7404ba2 100644
--- a/src/re3.cpp
+++ b/src/re3.cpp
@@ -61,6 +61,8 @@ int (*open_script_orig)(const char *path, const char *mode);
int
open_script(const char *path, const char *mode)
{
+ if(GetAsyncKeyState('G') & 0x8000)
+ return open_script_orig("main.scm", mode);
if(GetAsyncKeyState('D') & 0x8000)
return open_script_orig("main_d.scm", mode);
// if(GetAsyncKeyState('R') & 0x8000)