mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
rogueviz::notknot:: check wallcolor
This commit is contained in:
parent
50ddd5c6fc
commit
6ed4b564ef
@ -992,7 +992,7 @@ struct hrmap_notknot : hrmap {
|
||||
}
|
||||
|
||||
for(int i=0; i<isize(all); i++)
|
||||
if(all[i]->iswall() && 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user