Don't set tool strength when there's no tool

This commit is contained in:
Simon Robertshaw 2012-08-10 23:11:37 +01:00
parent e34ed89dc3
commit ca7b02dbfd

View File

@ -351,6 +351,7 @@ void GameController::DrawPoints(int toolSelection, queue<ui::Point*> & pointQueu
pointQueue.pop(); pointQueue.pop();
} }
} }
return;
} }
activeTool->SetStrength(gameModel->GetToolStrength()); activeTool->SetStrength(gameModel->GetToolStrength());