From ca7b02dbfdd0c11bc9e01b606797f5274f548c6c Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 10 Aug 2012 23:11:37 +0100 Subject: [PATCH] Don't set tool strength when there's no tool --- src/game/GameController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp index 17a6d4fa9..153385298 100644 --- a/src/game/GameController.cpp +++ b/src/game/GameController.cpp @@ -351,6 +351,7 @@ void GameController::DrawPoints(int toolSelection, queue & pointQueu pointQueue.pop(); } } + return; } activeTool->SetStrength(gameModel->GetToolStrength());