1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed the cyclic shift of top/down walls for rotspace -- raycaster needs that

This commit is contained in:
Zeno Rogue 2024-06-11 00:07:45 +02:00
parent f3e1d1c447
commit 47264a71ac

View File

@ -4371,6 +4371,7 @@ EX subcellshape& generate_subcellshape_if_needed(cell *c, int id) {
l.push_back(hybrid::get_corner(c1, i, 0, z));
}
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);
}