X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2F3dengfx%2Flibs%2Flib3ds%2Fatmosphere.c;fp=src%2F3dengfx%2Flibs%2Flib3ds%2Fatmosphere.c;h=a642be4fee79c8613faac71046e50dd9ca96b5dc;hb=2b4c0d15331a49f96411abe7dfe3f4c6a8e4b170;hp=e079b9e74a95afed778f5c309437845dce1e64d5;hpb=3f8f761e9f2030af5128ff45aec9e44fefe3f82b;p=summerhack diff --git a/src/3dengfx/libs/lib3ds/atmosphere.c b/src/3dengfx/libs/lib3ds/atmosphere.c index e079b9e..a642be4 100644 --- a/src/3dengfx/libs/lib3ds/atmosphere.c +++ b/src/3dengfx/libs/lib3ds/atmosphere.c @@ -79,7 +79,6 @@ layer_fog_read(Lib3dsLayerFog *fog, Lib3dsIo *io) { Lib3dsChunk c; Lib3dsWord chunk; - Lib3dsBool have_lin=LIB3DS_FALSE; if (!lib3ds_chunk_read_start(&c, LIB3DS_LAYER_FOG, io)) { return(LIB3DS_FALSE); @@ -94,7 +93,6 @@ layer_fog_read(Lib3dsLayerFog *fog, Lib3dsIo *io) switch (chunk) { case LIB3DS_LIN_COLOR_F: lib3ds_io_read_rgb(io, fog->col); - have_lin=LIB3DS_TRUE; break; case LIB3DS_COLOR_F: lib3ds_io_read_rgb(io, fog->col);