1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 19:47:54 +00:00

made -twisted-product work with pure hex

This commit is contained in:
Zeno Rogue
2024-06-16 19:17:33 +02:00
parent 3d9c4c838e
commit 6b04db89d2
3 changed files with 17 additions and 3 deletions

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 && nilv::nil_structure_index != 2) {
if(nil && WDIM == 3 && nilv::nil_structure_index != 2 && !mhybrid) {
/** todo: implement for hex nil too */
hyperpoint h = check(at);
auto step = [&] (int i) {