From afc35ca9ab975431ba412c1e74c6791c9aa12265 Mon Sep 17 00:00:00 2001 From: Wesley Baartman Date: Tue, 26 Oct 2021 10:42:37 +0200 Subject: [PATCH] Increase number of tiles being loaded in all directions --- overwolf/src/logic/tiles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overwolf/src/logic/tiles.ts b/overwolf/src/logic/tiles.ts index fabd33d..f576af0 100644 --- a/overwolf/src/logic/tiles.ts +++ b/overwolf/src/logic/tiles.ts @@ -33,8 +33,8 @@ export function getDimensions(screenWidth: number, screenHeight: number, angle?: angle = 0; } - const x = Math.ceil(screenWidth / tileWidth / 2) * 2 + 1; - const y = Math.ceil(screenHeight / tileHeight / 2) * 2 + 1; + const x = Math.ceil(screenWidth / tileWidth / 2) * 2 + 3; + const y = Math.ceil(screenHeight / tileHeight / 2) * 2 + 3; if (angle === 0) { return { x, y };