summaryrefslogtreecommitdiffstats
path: root/src/view/MapView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/MapView.cpp')
-rw-r--r--src/view/MapView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/MapView.cpp b/src/view/MapView.cpp
index 3eb3248..580014e 100644
--- a/src/view/MapView.cpp
+++ b/src/view/MapView.cpp
@@ -84,7 +84,7 @@ void MapView::render(float centerX, float centerY) {
std::pair<int, int> viewport = window->getViewport();
- float pixels = std::max(viewport.first/16.0f, viewport.second/12.0f);
+ float pixels = std::max(viewport.first/20.0f, viewport.second/15.0f);
int tilePixels = getTileSize() * std::ceil(pixels / getTileSize());
float tilesW = viewport.first / tilePixels;