diff --git a/textures.cpp b/textures.cpp index 356188ba..10daeb7f 100644 --- a/textures.cpp +++ b/textures.cpp @@ -361,12 +361,14 @@ bool texture_config::apply(cell *c, const transmatrix &V, color_t col) { if(using_aura()) { for(int i=0; i= 0) break; } + else p[0] = p[1] = p[2] = 1/3.; ld v[2] = {0,0}; for(int j=0; j<2; j++) for(int k=0; k<3; k++) v[j] += mi.tvertices[i+k][j] * p[k];