mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fix compile error with MAXMDIM 3
This commit is contained in:
		| @@ -105,6 +105,7 @@ void expansion_analyzer::preliminary_grouping() { | |||||||
|   codeid.clear(); |   codeid.clear(); | ||||||
|   children.clear();   |   children.clear();   | ||||||
|   if(reg3::in_rule()) { |   if(reg3::in_rule()) { | ||||||
|  | #if MAXMDIM >= 4 | ||||||
|     rootid = reg3::rule_get_root(0); |     rootid = reg3::rule_get_root(0); | ||||||
|     auto& chi = reg3::rule_get_children(); |     auto& chi = reg3::rule_get_children(); | ||||||
|     N = isize(chi) / S7;     |     N = isize(chi) / S7;     | ||||||
| @@ -115,6 +116,7 @@ void expansion_analyzer::preliminary_grouping() { | |||||||
|         children[i].push_back(chi[k]); |         children[i].push_back(chi[k]); | ||||||
|       k++; |       k++; | ||||||
|       } |       } | ||||||
|  | #endif | ||||||
|     } |     } | ||||||
|   else { |   else { | ||||||
|     sample_id(currentmap->gamestart()); |     sample_id(currentmap->gamestart()); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue