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 5024
Line 3466... Line 3466...
3466
3466
3467
    // MASKWALL_BAD_ACCESS
3467
    // MASKWALL_BAD_ACCESS
3468
    // Fixes access of stale maskwall[maskwallcnt] (a "scan" index, in BUILD lingo):
3468
    // Fixes access of stale maskwall[maskwallcnt] (a "scan" index, in BUILD lingo):
3469
    maskwallcnt = 0;
3469
    maskwallcnt = 0;
3470
3470
3471
    if (globalcursectnum >= MAXSECTORS)
-
 
3472
        globalcursectnum -= MAXSECTORS;
-
 
3473
    else
-
 
3474
    {
-
 
3475
        i = globalcursectnum;
-
 
3476
        updatesector(globalposx,globalposy,&globalcursectnum);
-
 
3477
        if (globalcursectnum < 0) globalcursectnum = i;
-
 
3478
    }
-
 
3479
-
 
3480
    polymost_scansector(globalcursectnum);
3471
    polymost_scansector(globalcursectnum);
3481
3472
3482
    if (inpreparemirror)
3473
    if (inpreparemirror)
3483
    {
3474
    {
3484
        grhalfxdown10x = -grhalfxdown10;
3475
        grhalfxdown10x = -grhalfxdown10;