From bf29c48640c4ee73620f89abbd2715a1247661ec Mon Sep 17 00:00:00 2001 From: Misa Date: Sat, 7 Nov 2020 13:33:39 -0800 Subject: [PATCH] Remove unneeded titlebg assignments when going to in-game settings These were needed when the title and tower background shared the same buffer, but since #522 got merged, these are no longer necessary. --- desktop_version/src/Input.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index 1c7b3b3f..31e0b55d 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -2387,9 +2387,6 @@ void mapmenuactionpress() } game.kludge_ingametemp = game.currentmenuname; - graphics.titlebg.scrolldir = 0; - graphics.titlebg.colstate = ((int) (graphics.titlebg.colstate / 5)) * 5; - graphics.titlebg.bypos = 0; map.nexttowercolour(); // Fix delta rendering glitch