diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-12 23:19:45 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-12 23:19:45 -0500 |
| commit | b2dfe21775a55e815b2572d844c749c5108671fe (patch) | |
| tree | c585747b3e9be9c9ea97e7377a66e3b2b42d2fc0 | |
| parent | 7a678440fab1b68000e384bb9b37b92f71a108b2 (diff) | |
| download | ether-b2dfe21775a55e815b2572d844c749c5108671fe.tar.gz ether-b2dfe21775a55e815b2572d844c749c5108671fe.tar.bz2 ether-b2dfe21775a55e815b2572d844c749c5108671fe.zip | |
fixed incorrect music levels with widescreen
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
| 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 | |||
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | inline int getZoomLevel(const Game& game) { | 26 | inline int getZoomLevel(const Game& game) { |
| 27 | return (game.curZoom - INIT_ZOOM) / 2; | 27 | return game.curZoom - INIT_ZOOM; |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | void tick( | 30 | void tick( |
