aboutsummaryrefslogtreecommitdiff
path: root/src/screens/infoScreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/infoScreen.c')
-rw-r--r--src/screens/infoScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/infoScreen.c b/src/screens/infoScreen.c
index ca968d2..745ea03 100644
--- a/src/screens/infoScreen.c
+++ b/src/screens/infoScreen.c
@@ -195,7 +195,7 @@ void updateInfoScreen(Game * game) {
infoScreenResetEntity(infoScreen);
// Change distance.
- infoScreen->distances[currentEntity] += GetMouseWheelMove();
+ infoScreen->distances[currentEntity] += -GetMouseWheelMove() * game->settings.previewZoomSpeed;
// Handling hidding cursor and shit.
if (IsMouseButtonPressed(MOUSE_RIGHT_BUTTON)) {