diff options
author | Vladimir Menshakov | 2009-12-07 19:16:18 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-12-07 19:16:18 +0000 |
commit | 74fb3e6a1e5b67319db6e732953b17d9a3f2ebc6 (patch) | |
tree | 1a43f1606042c30adacee8815cb56739999fbbd4 /engines/teenagent | |
parent | 0ff979e56d9571b4094f2fae816a78c7c3ea27f5 (diff) | |
download | scummvm-rg350-74fb3e6a1e5b67319db6e732953b17d9a3f2ebc6.tar.gz scummvm-rg350-74fb3e6a1e5b67319db6e732953b17d9a3f2ebc6.tar.bz2 scummvm-rg350-74fb3e6a1e5b67319db6e732953b17d9a3f2ebc6.zip |
show main menu by f5 button
svn-id: r46283
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/teenagent.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp index 56e7462d19..68b1fca799 100644 --- a/engines/teenagent/teenagent.cpp +++ b/engines/teenagent/teenagent.cpp @@ -305,6 +305,8 @@ Common::Error TeenAgentEngine::run() { event.kbd.ascii == '~' || event.kbd.ascii == '#') { console->attach(); } + if (event.kbd.flags == 0 && event.kbd.keycode == Common::KEYCODE_F5) + openMainMenuDialog(); break; case Common::EVENT_LBUTTONDOWN: if (scene->getId() < 0) |