1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +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;
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;