mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Menus: Amend r4862 so that touch devices, which do not display the crosshair as a cursor, are not completely prevented from using touch input by the lack of a crosshair tile.
git-svn-id: https://svn.eduke32.com/eduke32@4870 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
fcbd0737bb
commit
d73c7f1afe
1 changed files with 4 additions and 0 deletions
|
@ -5524,7 +5524,11 @@ void M_DisplayMenus(void)
|
|||
if (VM_HaveEvent(EVENT_DISPLAYMENUREST))
|
||||
VM_OnEvent(EVENT_DISPLAYMENUREST, g_player[screenpeek].ps->i, screenpeek);
|
||||
|
||||
#if !defined EDUKE32_TOUCH_DEVICES
|
||||
if (tilesiz[CROSSHAIR].x > 0 && mousestatus)
|
||||
#else
|
||||
if (mousestatus)
|
||||
#endif
|
||||
{
|
||||
#if !defined EDUKE32_TOUCH_DEVICES
|
||||
if (!MOUSEACTIVECONDITION)
|
||||
|
|
Loading…
Reference in a new issue