Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Increase number of tiles being loaded in all directions
Browse files Browse the repository at this point in the history
  • Loading branch information
CptWesley committed Oct 26, 2021
1 parent 3013b1e commit afc35ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overwolf/src/logic/tiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit afc35ca

Please sign in to comment.