mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-27 15:32:53 +00:00
crystal:: ignore invisible floors in rug
This commit is contained in:
parent
d3a3d4df5e
commit
be1e300d8d
@ -897,6 +897,7 @@ void build_rugdata() {
|
|||||||
for(const auto& gp: gmatrix) {
|
for(const auto& gp: gmatrix) {
|
||||||
|
|
||||||
cell *c = gp.first;
|
cell *c = gp.first;
|
||||||
|
if(c->wall == waInvisibleFloor) continue;
|
||||||
const transmatrix& V = gp.second;
|
const transmatrix& V = gp.second;
|
||||||
|
|
||||||
rugpoint *v = addRugpoint(tC0(V), 0);
|
rugpoint *v = addRugpoint(tC0(V), 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user