mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-02-07 02:10:14 +00:00
fixed a potential crash when calling fieldval in some geometries
This commit is contained in:
@@ -1180,7 +1180,7 @@ EX namespace patterns {
|
||||
if(euclid)
|
||||
// use the torus ID
|
||||
si.id = fieldpattern::fieldval_uniq(c);
|
||||
else if(PURE && !arcm::in())
|
||||
else if(PURE && standard_tiling())
|
||||
// use the actual field codes
|
||||
si.id = fieldpattern::fieldval(c).first;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user