| # | Line 484 | Line 484 | VIEW *vn; | |
|---|---|---|
| 484 | VOXL vlnew[8]; | |
| 485 | int n, comn; | |
| 486 | ||
| 487 | < | if (!vn->type) { /* clear our beam list */ |
| 487 | > | if (vn == NULL || !vn->type) { /* clear our beam list */ |
| 488 | set_voxels(vlnew, 0); | |
| 489 | cbeamop(DR_DELSET, cbeam, ncbeams, NULL, 0, 0); | |
| 490 | ncbeams = 0; | |
| 491 | < | copystruct(&dvw, vn); |
| 491 | > | dvw.type = 0; |
| 492 | return(1); | |
| 493 | } | |
| 494 | /* find our new voxels */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |