1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-17 10:49:58 +00:00

savemem:: larger allh array

This commit is contained in:
Zeno Rogue 2024-01-11 15:23:18 +01:00
parent 072041db06
commit 8ce805372d

View File

@ -125,7 +125,7 @@ EX void save_memory() {
// go back to such a point X that all the heptagons adjacent to the current 'at' // go back to such a point X that all the heptagons adjacent to the current 'at'
// are the children of X. This X becomes the new 'at' // are the children of X. This X becomes the new 'at'
if(true) { if(true) {
heptagon *allh[9]; heptagon *allh[MAX_EDGE+1];
int hcount = 0; int hcount = 0;
allh[hcount++] = at; allh[hcount++] = at;
for(int j=0; j<S7; j++) for(int j=0; j<S7; j++)