summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-17 08:45:55 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-17 08:45:55 +0000
commit3fc2cd109a51e6a38783eb5438098d9a962bc655 (patch)
tree0c18618ac4d6ac58e9cad8d9a7a8ff47f7a3d342 /src/game.cpp
parent84fd76cd43e2d7c8e647e78eabc47279cfade973 (diff)
downloadmana-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.cpp4
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)