summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index c3281b6..17a6d4f 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -264,9 +264,9 @@ void GameController::AdjustZoomSize(int direction, bool logarithmic)
{
int newSize;
if(logarithmic)
- newSize = gameModel->GetZoomSize()+direction;
- else
newSize = gameModel->GetZoomSize()+(((gameModel->GetZoomSize()/10)>0?(gameModel->GetZoomSize()/10):1)*direction);
+ else
+ newSize = gameModel->GetZoomSize()+direction;
if(newSize<5)
newSize = 5;
if(newSize>64)