From b2dfe21775a55e815b2572d844c749c5108671fe Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 12 Mar 2022 23:19:45 -0500 Subject: fixed incorrect music levels with widescreen --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 47c6966..c0d5b14 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -24,7 +24,7 @@ inline void incrementIfSet(const Game& game, int& count, int x, int y, Tile val } inline int getZoomLevel(const Game& game) { - return (game.curZoom - INIT_ZOOM) / 2; + return game.curZoom - INIT_ZOOM; } void tick( -- cgit 1.4.1