Solved
#3

Код:
At the top: #define INVALID_DOOR -1

stock GetNextEmptyDoorSlot()
{
    for(new i=0; i<MAX_DOORS; i++)
    {
        if(DoorInfo[i][dTaken] == 0)
        {
            return i;
        }
    }
    return INVALID_DOOR;
}
Edit: Grr, beat by mere seconds.
Reply


Messages In This Thread
Solved - by ReneG - 26.06.2012, 04:01
Re: Solved - by JaTochNietDan - 26.06.2012, 04:04
Re: Solved - by dowster - 26.06.2012, 04:04

Forum Jump:


Users browsing this thread: 1 Guest(s)