From 9331309af97b5815b283d93d042e25d828778592 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 16 Jun 2022 23:07:36 +0200 Subject: [PATCH] map:: lost memory not saved --- mapeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapeditor.cpp b/mapeditor.cpp index 84ef10bd..761db819 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -770,7 +770,7 @@ EX namespace mapstream { if(!blocked) for(int j=0; jtype; 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));