From d483e99c965a8a106f53e9c53567d6de73710df5 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 18 Aug 2025 15:14:56 +0200 Subject: [PATCH] fixed a bug in Hive generation --- complex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complex.cpp b/complex.cpp index 12e848c9..aa44336e 100644 --- a/complex.cpp +++ b/complex.cpp @@ -1996,7 +1996,7 @@ EX namespace hive { for(int i=0; itype; i++) { if(c->move(i) && c->move(i)->mpdist < c->mpdist) gdir = i; } - if(!gdir) return; + if(gdir == -1) return; cellwalker bf(c, gdir); int radius = 9; if(getDistLimit() <= 6) radius = 6;