Browse Source

engine: touch: fix button deletion

pull/2/head
Alibek Omarov 3 years ago
parent
commit
1bf08cc2c3
  1. 2
      engine/client/in_touch.c

2
engine/client/in_touch.c

@ -530,7 +530,7 @@ static void Touch_RemoveButtonFromList( touchbuttonlist_t *list, const char *nam @@ -530,7 +530,7 @@ static void Touch_RemoveButtonFromList( touchbuttonlist_t *list, const char *nam
IN_TouchEditClear();
while(( button = Touch_FindFirst( &touch.list_user, name, !privileged )))
while(( button = Touch_FindFirst( &touch.list_user, name, privileged )))
{
if( button->prev )
button->prev->next = button->next;

Loading…
Cancel
Save