summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
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;