1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +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>
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);
auto step = [&] (int i) {
at = currentmap->adj(base, (i+S7/2) % S7) * at;