Win32 Startup Window: This should be tokenized.

git-svn-id: https://svn.eduke32.com/eduke32@5951 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-12-26 06:01:28 +00:00
parent c102a6620a
commit d2934c4ba5

View file

@ -322,18 +322,18 @@ static INT_PTR CALLBACK ConfigPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, L
{ {
switch (i) switch (i)
{ {
case 0: case INPUT_KB:
settings.usemouse = settings.usejoy = 0; settings.usemouse = settings.usejoy = 0;
break; break;
case 1: case INPUT_MOUSE:
settings.usemouse = 1; settings.usemouse = 1;
settings.usejoy = 0; settings.usejoy = 0;
break; break;
case 2: case INPUT_JOYSTICK:
settings.usemouse = 0; settings.usemouse = 0;
settings.usejoy = 1; settings.usejoy = 1;
break; break;
case 3: case INPUT_ALL:
settings.usemouse = settings.usejoy = 1; settings.usemouse = settings.usejoy = 1;
break; break;
} }