diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-05-17 08:45:55 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-05-17 08:45:55 +0000 |
commit | 3fc2cd109a51e6a38783eb5438098d9a962bc655 (patch) | |
tree | 0c18618ac4d6ac58e9cad8d9a7a8ff47f7a3d342 /src/game.cpp | |
parent | 84fd76cd43e2d7c8e647e78eabc47279cfade973 (diff) | |
download | mana-3fc2cd109a51e6a38783eb5438098d9a962bc655.tar.gz mana-3fc2cd109a51e6a38783eb5438098d9a962bc655.tar.bz2 mana-3fc2cd109a51e6a38783eb5438098d9a962bc655.tar.xz mana-3fc2cd109a51e6a38783eb5438098d9a962bc655.zip |
Alt+m for testing menu, menuitems the same as button
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index a8166fae..b849fcdd 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -296,6 +296,10 @@ void do_input() buddyWindow->setVisible(!buddyWindow->isVisible()); used = true; } + else if (keysym.sym == SDLK_m) { + menu->setVisible(!menu->isVisible()); + used = true; + } } if (event.key.keysym.sym == SDLK_ESCAPE) |