1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-19 14:54:07 +00:00

rogueviz:: antidesitter:: fixed uninitialized variable

This commit is contained in:
Zeno Rogue 2024-04-28 02:03:13 +02:00
parent 1e3347590b
commit f229c489cd

View File

@ -643,7 +643,7 @@ bool view_ads_ca() {
flatresult center; flatresult center;
vector<flatresult> hlist; vector<flatresult> hlist;
color_t statecolor; color_t statecolor = 0;
if(1) { if(1) {
dynamicval<eGeometry> b(geometry, gRotSpace); dynamicval<eGeometry> b(geometry, gRotSpace);
shiftmatrix S = where_matrix[c]; shiftmatrix S = where_matrix[c];
@ -750,7 +750,7 @@ bool view_ads_ca() {
break; break;
} }
} }
addaura(shiftless(center.h), statecolor, 0); addaura(shiftless(center.h), statecolor, 0); // todo statecolor not changed
} }
if(acc) { if(acc) {
poly_outline = 0xFF; poly_outline = 0xFF;