diff --git a/src/galaxy/galacticMap.c b/src/galaxy/galacticMap.c index 39eba1e..3a3b007 100644 --- a/src/galaxy/galacticMap.c +++ b/src/galaxy/galacticMap.c @@ -699,8 +699,6 @@ static void handleKeyboard(void) static void handleMouse(void) { - scrollingMap = 0; - if (app.mouse.button[SDL_BUTTON_LEFT]) { if (app.mouse.dx != 0 || app.mouse.dy != 0) @@ -708,6 +706,10 @@ static void handleMouse(void) scrollingMap = 1; } } + else + { + scrollingMap = 0; + } } static void startMission(void)