Subversion Repositories eduke32

Rev

Rev 8764 | Rev 8771 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8764 Rev 8765
Line 6560... Line 6560...
6560
{
6560
{
6561
    switch (direction)
6561
    switch (direction)
6562
    {
6562
    {
6563
        case MM_Up:
6563
        case MM_Up:
6564
            if (!object->findhigh[object->currentList])
6564
            if (!object->findhigh[object->currentList])
6565
                break;
6565
                return;
6566
            if (object->findhigh[object->currentList]->prev)
6566
            if (object->findhigh[object->currentList]->prev)
6567
            {
6567
            {
6568
                object->findhigh[object->currentList] = object->findhigh[object->currentList]->prev;
6568
                object->findhigh[object->currentList] = object->findhigh[object->currentList]->prev;
6569
                break;
6569
                break;
6570
            }
6570
            }
Line 6573... Line 6573...
6573
            object->findhigh[object->currentList] = object->findhigh[object->currentList]->userb;
6573
            object->findhigh[object->currentList] = object->findhigh[object->currentList]->userb;
6574
            break;
6574
            break;
6575
6575
6576
        case MM_Down:
6576
        case MM_Down:
6577
            if (!object->findhigh[object->currentList])
6577
            if (!object->findhigh[object->currentList])
6578
                break;
6578
                return;
6579
            if (object->findhigh[object->currentList]->next)
6579
            if (object->findhigh[object->currentList]->next)
6580
            {
6580
            {
6581
                object->findhigh[object->currentList] = object->findhigh[object->currentList]->next;
6581
                object->findhigh[object->currentList] = object->findhigh[object->currentList]->next;
6582
                break;
6582
                break;
6583
            }
6583
            }