shithub: heretic

Download patch

ref: 0f798c2472b636e6b6a4864cc6110087f8067cf0
parent: 811f13ff30a4375798a8aee344c0010172ca69af
author: Jacob Moody <moody@posixcafe.org>
date: Mon Jan 23 21:37:37 EST 2023

turn off mouse in menus

--- a/mn_menu.c
+++ b/mn_menu.c
@@ -1980,6 +1980,7 @@
 	{
 		S_ResumeSound();
 	}
+	I_MouseEnable(0);
 	MenuActive = true;
 	FileMenuKeySteal = false;
 	MenuTime = 0;
@@ -2016,6 +2017,7 @@
 	}
 	players[consoleplayer].message = NULL;
 	players[consoleplayer].messageTics = 1;
+	I_MouseEnable(1);
 }
 
 //---------------------------------------------------------------------------