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:
hendricks266 2014-12-28 21:36:09 +00:00
parent fcbd0737bb
commit d73c7f1afe

View file

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