From f6de21e143d8d72660d116c276f2d315e837e9d1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 11 Mar 2019 18:48:31 +0100 Subject: [PATCH] texture:: aura no longer flickers --- textures.cpp | 2 ++ 1 file changed, 2 insertions(+) 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];