apparently this always runs
i am in pain
This commit is contained in:
1 parent
241d107485
commit
1c8ca2b110
1 file changed
+23
-20
+23
-20
@@ -3640,28 +3640,31 @@ boolean M_Responder(event_t *ev)
|
||||
break;
|
||||
}
|
||||
|
||||
switch (ev->data1) // if you pressed it set those to true
|
||||
if (menuactive)
|
||||
{
|
||||
case KEY_HAT1:
|
||||
DPADUPSCROLL = true;
|
||||
break;
|
||||
case KEY_HAT1 + 1:
|
||||
DPADDOWNSCROLL = true;
|
||||
break;
|
||||
case KEY_HAT1 + 2:
|
||||
DPADLEFTSCROLL = true;
|
||||
break;
|
||||
case KEY_HAT1 + 3:
|
||||
DPADRIGHTSCROLL = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (currentMenu == &MISC_ChangeLevelDef || currentMenu == &MP_OfflineServerDef || currentMenu == &MP_ServerDef)
|
||||
{
|
||||
if (ev->data1 == gamecontrol[gc_fire][0]
|
||||
|| ev->data1 == gamecontrol[gc_fire][1])
|
||||
switch (ev->data1) // if you pressed it set those to true
|
||||
{
|
||||
COM_ImmedExecute("add kartencore 1");
|
||||
case KEY_HAT1:
|
||||
DPADUPSCROLL = true;
|
||||
break;
|
||||
case KEY_HAT1 + 1:
|
||||
DPADDOWNSCROLL = true;
|
||||
break;
|
||||
case KEY_HAT1 + 2:
|
||||
DPADLEFTSCROLL = true;
|
||||
break;
|
||||
case KEY_HAT1 + 3:
|
||||
DPADRIGHTSCROLL = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (currentMenu == &MISC_ChangeLevelDef || currentMenu == &MP_OfflineServerDef || currentMenu == &MP_ServerDef)
|
||||
{
|
||||
if (ev->data1 == gamecontrol[gc_fire][0]
|
||||
|| ev->data1 == gamecontrol[gc_fire][1])
|
||||
{
|
||||
COM_ImmedExecute("add kartencore 1");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user