1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-19 18:29:36 +00:00

disable nil optimization in virtualRebase for hex nil structure

This commit is contained in:
Zeno Rogue 2024-06-10 01:36:13 +02:00
parent e2247eaf15
commit ea7d0f20c4

View File

@ -321,7 +321,7 @@ void virtualRebase_cell(cell*& base, T& at, const U& check) {
template<class T, class U> template<class T, class U>
void virtualRebase(cell*& base, T& at, const U& check) { void virtualRebase(cell*& base, T& at, const U& check) {
if(nil && WDIM == 3) { if(nil && WDIM == 3 && nilv::nil_structure_index != 2) {
hyperpoint h = check(at); hyperpoint h = check(at);
auto step = [&] (int i) { auto step = [&] (int i) {
at = currentmap->adj(base, (i+S7/2) % S7) * at; at = currentmap->adj(base, (i+S7/2) % S7) * at;