summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-09 12:35:46 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-09 12:35:46 +0000
commitff4d98eeee5a5a799039549c6df885a5208b792f (patch)
tree1e3a770cac29ed3f3e2d2f7b62e6286d8d5bb24d /src/game.cpp
parent6f706879515b4e37a78994aaae6b0e36d00b5f32 (diff)
downloadmana-ff4d98eeee5a5a799039549c6df885a5208b792f.tar.gz
mana-ff4d98eeee5a5a799039549c6df885a5208b792f.tar.bz2
mana-ff4d98eeee5a5a799039549c6df885a5208b792f.tar.xz
mana-ff4d98eeee5a5a799039549c6df885a5208b792f.zip
Fixed display of [TARGET] and Alt keys for toggling windows.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index e8692fd9..9cac4df0 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -647,7 +647,7 @@ void do_input()
}
SDL_FreeSurface(screenshot);
}
- break;
+ break;
default:
break;
@@ -655,7 +655,7 @@ void do_input()
if (requestedWindow)
{
- requestedWindow->setVisible(requestedWindow->isVisible());
+ requestedWindow->setVisible(!requestedWindow->isVisible());
if (requestedWindow->isVisible())
{
requestedWindow->requestMoveToTop();
@@ -1492,7 +1492,6 @@ void do_parse()
player_node->mFrame = 0;
player_node->x = x;
player_node->y = y;
- player_node->setMap(tiledMap);
// Send "map loaded"
MessageOut outMsg;