1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-12 02:10:34 +00:00

fixed a bug with some walls in twisted nil

This commit is contained in:
Zeno Rogue 2024-06-18 11:36:31 +02:00
parent a31fe5e2c1
commit 69c2bf9df8

View File

@ -923,8 +923,8 @@ hyperpoint ray_kleinize_twisted(hyperpoint h, int ks, int id) {
}
hyperpoint ray_kleinize(hyperpoint h, int id, ld pz) {
if(nil && nilv::nil_structure_index == 0 && among(id, 2, 5)) h[2] = 0;
if(nil && nilv::nil_structure_index == 2 && among(id, 6, 7)) h[2] = 0;
if(!mtwisted && nil && nilv::nil_structure_index == 0 && among(id, 2, 5)) h[2] = 0;
if(!mtwisted && nil && nilv::nil_structure_index == 2 && among(id, 6, 7)) h[2] = 0;
if(mtwisted) return ray_kleinize_twisted(h, kleinize_sides, id);
#if CAP_BT
if(hyperbolic && bt::in()) {