rogueviz:: antidesitter:: fixed uninitialized variable

This commit is contained in:
Zeno Rogue 2024-04-28 02:03:13 +02:00
parent 1e3347590b
commit f229c489cd
1 changed files with 2 additions and 2 deletions

View File

@ -643,7 +643,7 @@ bool view_ads_ca() {
flatresult center;
vector<flatresult> hlist;
color_t statecolor;
color_t statecolor = 0;
if(1) {
dynamicval<eGeometry> 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;