diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp index d125392..67f5482 100644 --- a/src/game/interface.cpp +++ b/src/game/interface.cpp @@ -32,8 +32,8 @@ void state_t::tick(double dt) { float view_scale; - view_scale = 3 * exp(camera.zoom * 0.12); - if (size.x > size.y) { + view_scale = 4.5 * exp(camera.zoom * 0.12); + if (size.x < size.y) { view_size.y = view_scale; view_size.x = view_scale * size.x / size.y; } else { |