From f229c489cd1dfdc39beaecba1b1fa71216c664ec Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 28 Apr 2024 02:03:13 +0200 Subject: [PATCH] rogueviz:: antidesitter:: fixed uninitialized variable --- rogueviz/antidesitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rogueviz/antidesitter.cpp b/rogueviz/antidesitter.cpp index 4f253c01..1b04e4db 100644 --- a/rogueviz/antidesitter.cpp +++ b/rogueviz/antidesitter.cpp @@ -643,7 +643,7 @@ bool view_ads_ca() { flatresult center; vector hlist; - color_t statecolor; + color_t statecolor = 0; if(1) { dynamicval b(geometry, gRotSpace); shiftmatrix S = where_matrix[c]; @@ -750,7 +750,7 @@ bool view_ads_ca() { break; } } - addaura(shiftless(center.h), statecolor, 0); + addaura(shiftless(center.h), statecolor, 0); // todo statecolor not changed } if(acc) { poly_outline = 0xFF;