Subversion Repositories eduke32

Rev

Rev 793 | Rev 855 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 793 Rev 841
Line 1640... Line 1640...
1640
        {
1640
        {
1641
            if (map[(ud.volume_number*MAXLEVELS)+ud.level_number].filename == NULL)
1641
            if (map[(ud.volume_number*MAXLEVELS)+ud.level_number].filename == NULL)
1642
                map[(ud.volume_number*MAXLEVELS)+ud.level_number].filename = Bcalloc(BMAX_PATH,sizeof(char));
1642
                map[(ud.volume_number*MAXLEVELS)+ud.level_number].filename = Bcalloc(BMAX_PATH,sizeof(char));
1643
            if (map[(ud.volume_number*MAXLEVELS)+ud.level_number].name == NULL)
1643
            if (map[(ud.volume_number*MAXLEVELS)+ud.level_number].name == NULL)
1644
            {
1644
            {
1645
                map[(ud.volume_number*MAXLEVELS)+ud.level_number].name = Bcalloc(9,sizeof(char));
1645
                map[(ud.volume_number*MAXLEVELS)+ud.level_number].name = Bcalloc(16,sizeof(char));
1646
                Bsprintf(map[(ud.volume_number*MAXLEVELS)+ud.level_number].name,"USER MAP");
1646
                Bsprintf(map[(ud.volume_number*MAXLEVELS)+ud.level_number].name,"USER MAP");
1647
            }
1647
            }
1648
        }
1648
        }
1649
        else
1649
        else
1650
        {
1650
        {