1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-23 16:50:27 +00:00

map:: lost memory not saved

This commit is contained in:
Zeno Rogue 2022-06-16 23:07:36 +02:00
parent f0e07eca66
commit 9331309af9

View File

@ -770,7 +770,7 @@ EX namespace mapstream {
if(!blocked) if(!blocked)
for(int j=0; j<c->type; j++) { for(int j=0; j<c->type; j++) {
cell *c2 = c->move(j); cell *c2 = c->move(j);
if(c2 && c2->land != laNone) addToQueue(c2); if(c2 && c2->land != laNone && c2->land != laMemory) addToQueue(c2);
} }
} }
printf("cells saved = %d\n", isize(cellbyid)); printf("cells saved = %d\n", isize(cellbyid));