summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-09 18:18:07 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-09 18:18:07 +0000
commit63e13201d45f807dc1f39c095847e11c8918bf37 (patch)
tree86f22102a767bc074d0e4f91a4bb5f050aa24e04 /src/game.cpp
parent5f8d500a0282d533ea4b7db1d982e1149d345289 (diff)
downloadmana-63e13201d45f807dc1f39c095847e11c8918bf37.tar.gz
mana-63e13201d45f807dc1f39c095847e11c8918bf37.tar.bz2
mana-63e13201d45f807dc1f39c095847e11c8918bf37.tar.xz
mana-63e13201d45f807dc1f39c095847e11c8918bf37.zip
Added buddywindow but still need to finish gui part
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 a4fd8aa7..2f0f6ee2 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -280,6 +280,10 @@ void do_input()
equipmentWindow->setVisible(!equipmentWindow->isVisible());
used = true;
}
+ else if (keysym.sym == SDLK_b) {
+ buddyWindow->setVisible(!buddyWindow->isVisible());
+ used = true;
+ }
}
if (event.key.keysym.sym == SDLK_ESCAPE)