Subversion Repositories eduke32

Rev

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

Rev 5001 Rev 5053
Line 542... Line 542...
542
    if (!mdinited) return 0;
542
    if (!mdinited) return 0;
543
    if ((unsigned)tile >= (unsigned)MAXTILES) return -1;
543
    if ((unsigned)tile >= (unsigned)MAXTILES) return -1;
544
544
545
    tile2model[tile].modelid = -1;
545
    tile2model[tile].modelid = -1;
546
    tile2model[tile].next=-1;
546
    tile2model[tile].next=-1;
-
 
547
    hudmem[0][tile].angadd = 0;
-
 
548
    hudmem[1][tile].angadd = 0;
-
 
549
547
    return 0;
550
    return 0;
548
}
551
}
549
552
550
/* this function is problematic, it leaves NULL holes in model[]
553
/* this function is problematic, it leaves NULL holes in model[]
551
 * (which runs from 0 to nextmodelid-1) */
554
 * (which runs from 0 to nextmodelid-1) */