mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 18:37:39 +00:00
extra guards
This commit is contained in:
@@ -1682,11 +1682,13 @@ EX namespace patterns {
|
||||
ep.extra_params["ey"] = y;
|
||||
if(S7 == 6) ep.extra_params["ez"] = -x-y;
|
||||
}
|
||||
#if CAP_CRYSTAL
|
||||
if(cryst) {
|
||||
crystal::ldcoord co = crystal::get_ldcoord(c);
|
||||
for(int i=0; i<crystal::MAXDIM; i++)
|
||||
ep.extra_params["x"+its(i)] = co[i];
|
||||
}
|
||||
#endif
|
||||
if(asonov::in()) {
|
||||
auto co = asonov::get_coord(c->master);
|
||||
ep.extra_params["ax"] = szgmod(co[0], asonov::period_xy);
|
||||
|
||||
Reference in New Issue
Block a user