ref: b3441290a449c995931466ac99653fd0e1768ced
parent: 1c9458bd4fb64dcc74c08041c59a5088ccee9dd8
author: Jacob Moody <moody@posixcafe.org>
date: Mon Jan 23 21:31:19 EST 2023
release mouse in menus
--- a/mn_menu.c
+++ b/mn_menu.c
@@ -15,6 +15,7 @@
#include "p_local.h"
#include "r_local.h"
#include "i_cdmus.h"
+#include "i_video.h"
#include "soundst.h"
#include "v_compat.h"
@@ -2165,6 +2166,7 @@
{
S_ResumeSound();
}
+ I_MouseEnable(0);
MenuActive = true;
FileMenuKeySteal = false;
MenuTime = 0;
@@ -2195,6 +2197,7 @@
}
S_StartSound(NULL, SFX_PLATFORM_STOP);
P_ClearMessage(&players[consoleplayer]);
+ I_MouseEnable(1);
}
//---------------------------------------------------------------------------