From 2a51e5eca3d2ea289b68279d344c956a0d1041a5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 16 Nov 2021 23:37:31 +0100 Subject: [PATCH] - fixed: BFSSearch did not mark its start sector as added. As a result it could be added twice. --- source/core/gamefuncs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/gamefuncs.h b/source/core/gamefuncs.h index 67403a47f..bc2c8108f 100644 --- a/source/core/gamefuncs.h +++ b/source/core/gamefuncs.h @@ -26,6 +26,7 @@ public: startpos = store.Size(); curpos = startpos; + Set(startnode); store.Push(startnode); }