mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-09 15:39:55 +00:00
fixed the cyclic shift of top/down walls for rotspace -- raycaster needs that
This commit is contained in:
parent
f3e1d1c447
commit
47264a71ac
@ -4371,6 +4371,7 @@ EX subcellshape& generate_subcellshape_if_needed(cell *c, int id) {
|
|||||||
l.push_back(hybrid::get_corner(c1, i, 0, z));
|
l.push_back(hybrid::get_corner(c1, i, 0, z));
|
||||||
}
|
}
|
||||||
if(a == 0) std::reverse(l.begin()+1, l.end());
|
if(a == 0) std::reverse(l.begin()+1, l.end());
|
||||||
|
if(a == 1) std::rotate(l.begin(), l.begin()+3, l.end());
|
||||||
ss.faces.push_back(l);
|
ss.faces.push_back(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user