mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Bug Fix, mouse didn't work in svga client.Fixed by closing the mouse before initing it due to vga_init initing the mouse when called
This commit is contained in:
parent
73f884562b
commit
7c9f1a51ec
1 changed files with 3 additions and 0 deletions
|
@ -389,6 +389,9 @@ IN_InitMouse (void)
|
|||
Sys_Printf ("Mouse: dev=%s,type=%s,speed=%d\n",
|
||||
mousedev, mice[mtype].name, mouserate);
|
||||
#endif
|
||||
//FIXME: vga_init() opens the mouse automoatically
|
||||
// closing it to ensure its opened how we want it
|
||||
mouse_close();
|
||||
if (mouse_init (mousedev, mtype, mouserate)) {
|
||||
Con_Printf ("No mouse found\n");
|
||||
UseMouse = 0;
|
||||
|
|
Loading…
Reference in a new issue