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:
Chris Ison 2002-09-30 23:16:20 +00:00
parent 73f884562b
commit 7c9f1a51ec

View file

@ -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;