map:: lost memory not saved

This commit is contained in:
Zeno Rogue 2022-06-16 23:07:36 +02:00
parent f0e07eca66
commit 9331309af9
1 changed files with 1 additions and 1 deletions

View File

@ -770,7 +770,7 @@ EX namespace mapstream {
if(!blocked)
for(int j=0; j<c->type; 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));