diff --git a/rogueviz/notknot.cpp b/rogueviz/notknot.cpp index f6516e96..a0db3d85 100644 --- a/rogueviz/notknot.cpp +++ b/rogueviz/notknot.cpp @@ -992,7 +992,7 @@ struct hrmap_notknot : hrmap { } for(int i=0; iiswall() && ufind(all[i]) == all[i]) { + if(all[i]->iswall() && ufind(all[i]) == all[i] && all[i]->wallcolor) { all[i]->wallcolor = hrand(0x1000000) | 0x404040, all[i]->wallcolor2 = hrand(0x1000000) | 0x404040; }