Skip to content
Snippets Groups Projects
Commit e0e5e838 authored by LJ Sonic's avatar LJ Sonic
Browse files

Revert "Ungrab mouse when watching a record"

This reverts commit 17636ccc.
parent 3af00ac9
No related branches found
No related tags found
2 merge requests!734Rebase Keycodes only branch.,!617Let the mouse move freely when a menu is open or game is paused
......@@ -109,7 +109,7 @@ static SDL_bool disable_fullscreen = SDL_FALSE;
#define USE_FULLSCREEN (disable_fullscreen||!allow_fullscreen)?0:cv_fullscreen.value
static SDL_bool disable_mouse = SDL_FALSE;
#define USE_MOUSEINPUT (!disable_mouse && cv_usemouse.value && havefocus)
#define IGNORE_MOUSE (menuactive || paused || con_destlines || chat_on || demoplayback || gamestate != GS_LEVEL)
#define IGNORE_MOUSE (menuactive || paused || con_destlines || chat_on || gamestate != GS_LEVEL)
#define MOUSE_MENU false //(!disable_mouse && cv_usemouse.value && menuactive && !USE_FULLSCREEN)
#define MOUSEBUTTONS_MAX MOUSEBUTTONS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment