diff --git a/src/gui/game/GameView.h b/src/gui/game/GameView.h index 95d193cc7..a7fd8c8ef 100644 --- a/src/gui/game/GameView.h +++ b/src/gui/game/GameView.h @@ -171,7 +171,7 @@ public: //all of these are only here for one debug lines bool GetMouseDown() { return isMouseDown; } - bool GetDrawingLine() { return drawMode == DrawLine && isMouseDown; } + bool GetDrawingLine() { return drawMode == DrawLine && isMouseDown && selectMode == SelectNone; } bool GetDrawSnap() { return drawSnap; } ui::Point GetLineStartCoords() { return drawPoint1; } ui::Point GetLineFinishCoords() { return currentMouse; }