[client] core: remove state tracking in core_updateOverlayState

The state is never updated when a message box is dismissed, so the
cursor is never displayed when a second message box shows up.

The only other caller, app_setOverlay, has state tracking already.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2022-03-19 10:04:23 +11:00
1 parent 6c76d6ada5
commit f28084e653
1 file changed
-6
-6
View File
@@ -654,12 +654,6 @@ void core_resetOverlayInputState(void)
void core_updateOverlayState(void)
{
static bool lastState = false;
bool currentState = app_isOverlayMode();
if (lastState == currentState)
return;
lastState = currentState;
g_state.cursorLast = -2;
static bool wasGrabbed = false;