From f6330c57fd292c3695ddd008db9d7c8c003f499e Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 22 Jun 2020 20:52:10 -0700 Subject: [PATCH] Reset map.bypos when entering options menus in-game Otherwise the menu background would have this rendering glitch where the bypos of the in-game tower wouldn't divide easily and have a bunch of jitters in an otherwise smooth but overall still somewhat smooth background. --- desktop_version/src/Input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index 81f251e2..821e5f8a 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -2145,6 +2145,7 @@ void mapmenuactionpress() map.scrolldir = 0; map.colstate = ((int) (map.colstate / 5)) * 5; + map.bypos = 0; map.nexttowercolour(); // Fix delta rendering glitch