mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-11 12:47:39 +00:00
tailored allocation, and increased MAX_EDGE to 14
This commit is contained in:
@@ -741,7 +741,7 @@ bool buildBarrierNowall(cell *c, eLand l2, int forced_dir) {
|
||||
bool warpv = warped_version(c->land, l2);
|
||||
if(warpv && !archimedean && !pseudohept(c)) return false;
|
||||
|
||||
int ds[8];
|
||||
int ds[MAX_EDGE];
|
||||
for(int i=0; i<c->type; i++) ds[i] = i;
|
||||
for(int j=0; j<c->type; j++) swap(ds[j], ds[hrand(j+1)]);
|
||||
|
||||
|
Reference in New Issue
Block a user