103 |
|
init(); |
104 |
|
if (gargc+1 < argc) |
105 |
|
for (i = gargc+1; i < argc; i++) { |
106 |
< |
if ((fp = fopen(argv[i], "r")) == NULL { |
106 |
> |
if ((fp = fopen(argv[i], "r")) == NULL) { |
107 |
|
sprintf(errmsg, |
108 |
|
"cannot open scene file \"%s\"", argv[i]); |
109 |
|
error(SYSTEM, errmsg); |
286 |
|
thisillum.flags &= ~IL_COLDST; |
287 |
|
break; |
288 |
|
case 'd': /* distribution */ |
289 |
< |
thisillum.flags |= IL_COLDST; |
290 |
< |
thisillum.flags &= ~IL_COLAVG; |
289 |
> |
thisillum.flags |= (IL_COLDST|IL_COLAVG); |
290 |
|
break; |
291 |
|
case 'n': /* none */ |
292 |
|
thisillum.flags &= ~(IL_COLAVG|IL_COLDST); |